revision: do not include sibling history in --ancestry-path output
commitc3502fa8822fab99ee51b3f74cf3f100492d88e2
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Aug 2011 00:51:50 +0000 (25 17:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Aug 2011 02:40:51 +0000 (25 19:40 -0700)
tree055e059da56a9e78ece64250562bb04ebed1cdba
parent281eee473000e5bd46e59d636626132dc9ea85cb
revision: do not include sibling history in --ancestry-path output

If the commit specified as the bottom of the commit range has a direct
parent that has another child commit that contributed to the resulting
history, "rev-list --ancestry-path" was confused and listed that side
history as well, due to the command line parser subtlety corrected by the
previous commit.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c
t/t6019-rev-list-ancestry-path.sh