Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337296 - Add StatusCommand to JGit API
Summary: Add StatusCommand to JGit API
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 0.11   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 0.12-M1   Edit
Assignee: Christian Halstrick CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 05:58 EST by Tomasz Zarna CLA
Modified: 2011-03-23 12:24 EDT (History)
3 users (show)

See Also:


Attachments
mylyn/context/zip (9.09 KB, application/octet-stream)
2011-02-25 09:27 EST, Tomasz Zarna CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-02-16 05:58:08 EST
Quoting Chris from bug 337212, comment 7: 

[The command] would probably return a collection of DirCache's you can iterate over or some type of StatusResult for your convenience.
Comment 1 Szymon Brandys CLA 2011-02-17 12:31:20 EST
In Bug 337212 you wrote "If you need help with this, I'm willing to get my hands dirty." Do you plan to work on that soon? We would need StatusCommand of some sort ASAP.
Comment 2 Chris Aniszczyk CLA 2011-02-21 11:20:46 EST
It's not on my list but we would take contributions.
Comment 3 Tomasz Zarna CLA 2011-02-25 09:27:27 EST
Created attachment 189804 [details]
mylyn/context/zip
Comment 4 Tomasz Zarna CLA 2011-03-01 07:01:42 EST
The command could be leveraged with the existing implementation in IndexDiff. The same applies to the code from egit.core[1]. This is what we did in bug 337212, so I was able to remove the dependency on this bug.

[1] org.eclipse.egit.ui.internal.decorators.DecoratableResourceHelper.decorateResource(DecoratableResource, TreeWalk)
Comment 5 Chris Aniszczyk CLA 2011-03-23 12:11:22 EDT
There's a change for review...

http://egit.eclipse.org/r/#change,2890
Comment 6 Chris Aniszczyk CLA 2011-03-23 12:24:03 EDT
Merged into master.

I hope you and the Orion team can use this Tomasz!