Community
Participate
Working Groups
Much of the time, I am on a git page doing something (fetch/merge, checking status, etc.) and then I want to go do work on one of the files involved. Right now, I have to go to navigator and find the file, or go to a favorite. The breadcrumb links in the git pages all link to git URL's, on the assumption that I want to traverse my repo using those links. But more often than not, what I really want to do is just go to the navigator at a certain path. I'm not sure that the breadcrumb link should change, but somewhere we need a link that lets me go to that place in the nav. Similarly, from git status I should be able to go to a referenced file for editing...today I have to go to the navigator, find the file, and edit it, or open resource.
(In reply to comment #0) > Similarly, from git status I should be able to go to a referenced file for > editing...today I have to go to the navigator, find the file, and edit it, or > open resource. This is already covered in bug 347068. So this bug is really about how we can go to the corresponding part of the navigator from a git breadcrumb location. And whether the breadcrumb for git log and git status should work as it does today or whether it should link to the navigator instead.
jjb had the opposite wish: >I wish the navigator and edit pages showed me the branch name. >I wish the branch name linked to the git status page. Seems like we have the general issue of pages that are viewing a resource and you want a quick link to go to another task view of that same resource. I'm changing this from a git issue to a general client issue. Perhaps some of this work could be in conjunction with bug 349531, so I'm assigning to me for now. Note that "showing the branch name" goes beyond links to other tasks, it's more like a "context" in which I'm viewing some resources, or information telling me where it came from. This may require a more specific solution.
So far we used breadcrumbs to display hierarchical resources. It contains a path to the resource and it allows to move up in the hierarchy. This is implemented in navigator and works fine. It is followed in git logs that contain a path to the resource in the breadcrumb and a name of the branch in the title. This could (and I think should) be also adopted to git status. But I see that in git we have more layers of the hierarchy, we would like to have links between: * git log local branch * git log remote branch * navigator * git status For some of those it is covered by commands in the toolbar. For this one situation we can add a link to navigator in the toolbar for log log and git status. But also we need a link from git log to git status. Probably when Bug 359621 is fixed we would like to link logs and status with the corresponding repository. >I wish the navigator and edit pages showed me the branch name. >I wish the branch name linked to the git status page. This is something different I think. Old eclipse decorates resources with various team elements: repository, branch, dirty flag etc. Adding some of those would require adding new extension points. We have extension points for custom commands, this is not very different.
fixed the original issue. You can now use Related pages->Navigate to get from any git page to the same spot in the navigator. The git status->editor issue is covered in bug 369163 The "showing branch in other pages" issue is covered in bug 370893 marking fixed.