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

Bug 339190

Summary: [server] Allow to commit a single file
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: ClientAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: janikpiotrek
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: All   
Whiteboard: gsoc2011
Bug Depends on:    
Bug Blocks: 346622    
Attachments:
Description Flags
changes none

Description Tomasz Zarna CLA 2011-03-08 05:06:56 EST
Currently, one can commit all staged files, these is no way to pick a single file and commit it. In other words, there is no REST API for "git commit [...] -o -- {file}". Fixing http://egit.eclipse.org/r/#change,2635 in JGit should help a lot here.
Comment 1 Piotr Janik CLA 2011-05-20 14:19:01 EDT
Ready for review. I've also enabled and modified test testCommit().
Comment 3 Piotr Janik CLA 2011-05-31 12:27:44 EDT
I wrote all this code and have the rights to contribute it to Eclipse under the eclipse.org web site terms of use.
Comment 4 Piotr Janik CLA 2011-05-31 19:24:28 EDT
Created attachment 197051 [details]
changes