]> git.ipfire.org Git - thirdparty/git.git/commit
rev-list: fix finish_object() call
authorJunio C Hamano <gitster@pobox.com>
Wed, 17 Aug 2011 21:30:33 +0000 (14:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Aug 2011 18:34:55 +0000 (11:34 -0700)
commit5f25b6299d3e9853cf1f43734228d6e25d8f3415
treee79f79190a27ddb37c26bdd0163fbe6a1ad317a6
parentf67d2e82d6d2fd385d3d20e8d348eaf69dc95041
rev-list: fix finish_object() call

The callback to traverse_commit_list() are to take linked name_path and
a string for the last path component.

If the callee used its parameters, it would have seen duplicated leading
paths. In this particular case, the callee does not use this argument but
that is not a reason to leave the call broken.

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