Skip to content

Fix for incorrect tracking of commits ahead / behind for non origin remotes - #48

Open
crmason2 wants to merge 2 commits into
0rax:masterfrom
crmason2:remote-fix
Open

crmason2 wants to merge 2 commits into
0rax:masterfrom
crmason2:remote-fix

Conversation

@crmason2

Copy link
Copy Markdown

If your local branch is using a remote other than origin then the GIT segment will return an incorrect commits ahead / behind.

This change checks the actual upstream remote and bases the commits ahead / behind on that remote not just origin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant