branch_status variable is broken with local tracking [message #846641] |
Mon, 16 April 2012 13:28 |
R Shapiro Messages: 386 Registered: June 2011 |
Senior Member |
|
|
The default decoration for Projects:
{dirty:>} {name} [{repository} {branch}{ branch_status}]
doesn't work for local tracking, ie, one local branch tracking another local branch. Specifically, branch_status is wrong.
Replicate as follows:
1) Use the egit Branches dialog to create a new branch, say "tracker", from "master". Select the 'merge' radio button option in the 'Create a new branch' sub-dialog.
2) Commit any random change in "tracker".
3) Run 'git status' on the command line, observe that, as expected, it says
# On branch tracker
# Your branch is ahead of 'master' by 1 commit.
4) Expected EGIT behavior: the project status will be decorated with up-arrow 1 to show that branch is ahead by 1 commit.
4) Observed EGIT behavior: the Project decoration in egit shows no status.
In other respects this form of tracking works perfectly well in egit/jgit. Only the Project decoration is wrong.
[Updated on: Mon, 16 April 2012 16:02] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04039 seconds