robertgzr / porcelain

a git status parser
MIT License
34 stars 8 forks source link

Wrong commit count for ahead/behind #3

Closed robertgzr closed 7 years ago

robertgzr commented 7 years ago
## master...origin/master [behind 8]

vs

{branch:master commit:0dfde75 remote:origin trackedBranch:origin/master ahead:8 behind:0 untracked:1 dirty:6 modified:6 added:0 deleted:0 renamed:0 copied:0 unmerged:0}