blame: read custom grafts given by -S before calling setup_revisions()
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Mar 2009 07:13:03 +0000 (00:13 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Mar 2009 07:13:03 +0000 (00:13 -0700)
commitaa9ea77de4fffd133b3da1d36a19fd0bd11ad368
tree98a6bfdaa489a1353e7c0fefb7757d75db7658c8
parentea02eef096d4bfcbb83e76cfab0fcb42dbcad35e
blame: read custom grafts given by -S before calling setup_revisions()

setup_revisions() while getting the command line arguments parses the
given commits from the command line, which means their direct parents will
not be rewritten by the custom graft file.

Call read_ancestry() early to work around this issue.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c