1. Stefan Saasen
  2. git

Commits

Junio C Hamano  committed ba3c937

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>

  • Participants
  • Parent commits 6cbd5d7
  • Branches master

Comments (0)

Files changed (1)

File blame.c

View file
  • Ignore whitespace
 	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);