Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339190 - [server] Allow to commit a single file
Summary: [server] Allow to commit a single file
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard: gsoc2011
Keywords:
Depends on:
Blocks: 346622
  Show dependency tree
 
Reported: 2011-03-08 05:06 EST by Tomasz Zarna CLA
Modified: 2012-01-19 10:58 EST (History)
1 user (show)

See Also:


Attachments
changes (5.41 KB, patch)
2011-05-31 19:24 EDT, Piotr Janik CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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