blame: allow blame --reverse --first-parent when it makes sense
commit700fd28e4f3ecd6e7b5f8f2098e62ffef9ab958b
authorMax Kirillov <max@max630.net>
Fri, 30 Oct 2015 05:01:53 +0000 (30 07:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Oct 2015 22:33:13 +0000 (30 15:33 -0700)
tree7db023304999e3a7534ca3d93722c726b504e422
parent1b0d40000a511a8db81a20a6dab00984bdbc0d63
blame: allow blame --reverse --first-parent when it makes sense

Allow combining --reverse and --first-parent if initial commit of
specified range is at the first-parent chain starting from the final
commit. Disable the prepare_revision_walk()'s builtin children
collection, instead picking only the ones which are along the first
parent chain.

Signed-off-by: Max Kirillov <max@max630.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c
t/t8009-blame-vs-topicbranches.sh