diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-08-28 13:36:58 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-08-28 13:36:58 +0200 |
commit | 05f0d0c1190f0a3922d48d9f35c6ef6f3c2048a7 (patch) | |
tree | b061ac725aa71105608aecc15f7ab23c2f9dd03b /src/commit.c | |
parent | e07aebb4e2b6ab544153c294914118ae2f2f512c (diff) | |
download | libgit2-cmn/ahead-behind-order.tar.gz |
graph: fix ahead-behind logiccmn/ahead-behind-order
When we see PARENT1, it means there is a local commit and thus we are
ahead. Likewise, seeing PARENT2 means that the upstream branch has a
commit and we are one more behind.
The logic is currently reversed. Correct it.
This fixes #2501.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions