Community
Participate
Working Groups
We're going to need REST API for git add (on a single file, or all currently unstaged files).
This operation could be implemented as PUT on /git/index/<file path>.
Tomasz, have you seen the mockup at http://wiki.eclipse.org/Orion/How_Tos/Working_with_git#Using_Orion_Git_Status_Page ? The server API only needs to support what can be done from that UI. (at least for M6 :-) For a resource in the "unstaged" list, we'd like to move it into the staged list. The equivalent command line for this would be "git add path/to/file". The "Stage All" equivalent would be "git add .; git add -u ." assuming your current working directory is the top-level directory of the git repository. Actually, I am not 100% sure about this :-)
Done with 60ca59cafeafae22279bd5ab2a345f4c3bf830ff. I'm moving onward to bug 338202 where I'll implement a simple "git reset" support for unstaging.