]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
revision.c: remove duplicated parents after history simplification
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2007 02:03:19 +0000 (19:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2007 06:18:08 +0000 (23:18 -0700)
commit11d6596709e04b8d2b429f230b2ed570d013f812
tree2bd7e645b9b3e6b5db4c8cfe82e35651730ee165
parentae7aa49914072b9007ba62245e68b8bbd24f964a
revision.c: remove duplicated parents after history simplification

When we simplify history due to path limits, the parents list
for a rewritten commit can end up having duplicates.  Instead of
filtering them out in the output codepath like earlier commit
88494423 did, remove them much earlier, when the parent
information actually gets rewritten.

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