summaryrefslogtreecommitdiff
path: root/blame.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-05 18:22:19 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-05 18:22:19 -0700
commit2db70f684ad67f088dde17967290ee2733b588ad (patch)
tree0f3d7c2e5c2badf537604f5ca5decb3cb87d2f86 /blame.c
parent9cda21defb0ad18f50b4dcea9f027f75a15131fd (diff)
parentba3c93743a8151e3663e1fda6b3cb165d8373ddf (diff)
downloadgit-2db70f684ad67f088dde17967290ee2733b588ad.tar.gz
Merge branch 'master' into next
* master: blame.c: fix completely broken ancestry traversal.
Diffstat (limited to 'blame.c')
-rw-r--r--blame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/blame.c b/blame.c
index 1ee0d323ca..a5964107cb 100644
--- a/blame.c
+++ b/blame.c
@@ -787,6 +787,7 @@ int main(int argc, const char **argv)
rev.prune_fn = simplify_commit;
rev.topo_setter = topo_setter;
rev.topo_getter = topo_getter;
+ rev.parents = 1;
rev.limited = 1;
commit_list_insert(start_commit, &rev.commits);