Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363127 - Create WS patch from 2 arbitrary commits
Summary: Create WS patch from 2 arbitrary commits
Status: CLOSED DUPLICATE of bug 368621
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 03:18 EST by Caspar D. CLA
Modified: 2012-11-06 17:16 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caspar D. CLA 2011-11-08 03:18:35 EST
With Git it's trivially easy to create diffs covering the differences
between 2 arbitrary commits:

# git diff <commit1> <commit2> > mypatch.txt

The resulting mypatch.txt is of course perfectly usable by GNU patch
or any patch tool capable of interpreting a standard unified diff. But
Eclipse wants a diff in the 'Eclipse patch format', and for that I need
EGit.

However, from the EGit user guide it seems that a patch can only be created
to cover a single commit. This is of little practical value, IMO, because
it's likely that someone working with a DVCS will make many small commits
on a dev branch before he's ready to send a patch to someone else.

I'm therefore requesting additional functionality that will generate
an Eclipse WS patch covering the differences between 2 arbitrary Git
commits.
Comment 1 Markus Keller CLA 2012-02-01 10:21:28 EST
This bug is a mix of bug 368621 (patch between 2 commits) and bug 367735 (workspace patches).
Comment 2 Robin Stocker CLA 2012-11-06 17:16:44 EST
Creating a patch between 2 commits is tracked in bug 368621, please see there.

*** This bug has been marked as a duplicate of bug 368621 ***