summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6cbd5d7)
raw | patch | inline | side by side (parent: 6cbd5d7)
author | Junio C Hamano <junkio@cox.net> | |
Thu, 6 Apr 2006 01:21:17 +0000 (18:21 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 6 Apr 2006 01:21:17 +0000 (18:21 -0700) |
Recent revision.c updates completely broken the assignment of
blames by not rewriting commit->parents field unless explicitly
asked to by the caller. The caller needs to set revs.parents.
Signed-off-by: Junio C Hamano <junkio@cox.net>
blames by not rewriting commit->parents field unless explicitly
asked to by the caller. The caller needs to set revs.parents.
Signed-off-by: Junio C Hamano <junkio@cox.net>
blame.c | patch | blob | history |
index 98f99922a78578a84468f1296d6e56b999829659..9bb34e63ecf02bfde06e86627ac3b1d590dd0bc2 100644 (file)
--- a/blame.c
+++ b/blame.c
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);