Community
Participate
Working Groups
We need the git-status API to return a the repo and brach name in order for UI to show the repository name and the branch information in the git status title.
Boris and Simon thinks this is more important so could you make it a priority?
(In reply to comment #0) > [...] show the repository name and the branch information in the git status title. You are able to collect that data basing on the current response content. You should start with doing GET on "CloneLocation". The result will contain "Name", which is name of the repository and "BranchLocation" which when followed (GET) will return you a list of branches for the repo, one of them should be the active ("Current" : true). Once you find it, you can then check for the branch "Name". I've set up a test verifying the described path, see http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=11d2a835cea0bb1fbb6d30577df81f28ff5b87da.
Created attachment 197575 [details] mylyn/context/zip