summaryrefslogtreecommitdiff
path: root/cvsps.c
diff options
context:
space:
mode:
Diffstat (limited to 'cvsps.c')
-rw-r--r--cvsps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cvsps.c b/cvsps.c
index c22147e..2695a0f 100644
--- a/cvsps.c
+++ b/cvsps.c
@@ -2599,7 +2599,7 @@ static void determine_branch_ancestor(PatchSet * ps, PatchSet * head_ps)
* note: rev is the pre-commit revision, not the post-commit
*/
if (!head_ps->ancestor_branch)
- d1 = 0;
+ d1 = -1;
else if (strcmp(ps->branch, rev->branch) == 0)
continue;
else if (strcmp(head_ps->ancestor_branch, "HEAD") == 0)