Code

Topo-sort before --simplify-merges
authorJunio C Hamano <gitster@pobox.com>
Mon, 4 Aug 2008 00:47:16 +0000 (17:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Aug 2008 00:47:16 +0000 (17:47 -0700)
commit65347030590bcc251a9ff2ed96487a0f1b9e9fa8
treec602ca33b3e0c53470bf0b0ffff41d9dab96b3bf
parent6546b5931e5608dfdcd3e4fbf9ebc90ee0982b56
Topo-sort before --simplify-merges

This makes the algorithm more honest about what it is doing.

We start from an already limited, topo-sorted list, and postprocess
it by simplifying the irrelevant merges away.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c
t/t6012-rev-list-simplify.sh [new file with mode: 0755]