Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361548

Summary: Add ApplyCommand to JGit API
Product: [Technology] JGit Reporter: Tomasz Zarna <tomasz.zarna>
Component: JGitAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: caniszczyk, remy.suen, Szymon.Brandys
Version: 1.2Keywords: api, noteworthy
Target Milestone: 2.0-M1   
Hardware: PC   
OS: Windows XP   
URL: http://linux.die.net/man/1/git-apply
Whiteboard:
Bug Depends on: 370320    
Bug Blocks: 366011    
Attachments:
Description Flags
mylyn/context/zip none

Description Tomasz Zarna CLA 2011-10-20 10:06:45 EDT
For applying patches on a git index file and a working tree.

This could be either implemented in JGit or delegated to Platform/Compare if you don't mind the dependency.
Comment 1 Szymon Brandys CLA 2011-11-03 07:38:11 EDT
See bug 361425, comment 2.
Comment 2 Tomasz Zarna CLA 2011-12-02 07:03:38 EST
Initial version of the command has been submitted as http://egit.eclipse.org/r/#change,4717. Comments are welcome.
Comment 3 Tomasz Zarna CLA 2011-12-02 07:04:05 EST
Created attachment 207833 [details]
mylyn/context/zip
Comment 4 Tomasz Zarna CLA 2012-02-08 08:06:49 EST
(In reply to comment #2)
> http://egit.eclipse.org/r/#change,4717

It's now https://git.eclipse.org/r/#/c/4717/
Comment 5 Chris Aniszczyk CLA 2012-02-08 11:27:46 EST
Tomasz, can you state that:

1.  You have authored 100% of the content contained within the patch.
2.  You have the rights to contribute the content to the JGit project.
3.  You agree you are contributing the content under the EDL, which is the BSD
license appearing in our file headers.
Comment 6 Tomasz Zarna CLA 2012-02-08 12:36:30 EST
1. I have authored 100% of the content contained within the patch.
2. I have the rights to contribute the content to the JGit project.
3. I agree to contribute the content under the EDL, which is the BSD license.

Stated the same thing on the CQ. Thanks for looking at this.
Comment 7 Chris Aniszczyk CLA 2012-03-05 00:35:28 EST
Fixed in master, thanks Tomasz!