diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-05 18:21:17 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-05 18:21:17 -0700 |
commit | ba3c93743a8151e3663e1fda6b3cb165d8373ddf (patch) | |
tree | 595a7c058133237e1080143da3b90a9f0e76c6a8 /blame.c | |
parent | 6cbd5d7d79f5751828397558e7c3611b048565fb (diff) | |
download | git-ba3c93743a8151e3663e1fda6b3cb165d8373ddf.tar.gz |
blame.c: fix completely broken ancestry traversal.
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>
Diffstat (limited to 'blame.c')
-rw-r--r-- | blame.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -813,6 +813,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); |