From: Junio C Hamano Date: Tue, 12 Aug 2008 01:54:55 GMT Subject: Re: [PATCH] filter-branch: use --simplify-merges Message-ID: <7vljz3t2ts.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1218376960-6406-1-git-send-email-trast@student.ethz.ch> Thomas Rast writes: > @@ -333,7 +333,8 @@ then > do > sha1=$(git rev-parse "$ref"^0) > test -f "$workdir"/../map/$sha1 && continue > - ancestor=$(git rev-list -1 $ref -- "$filter_subdir") > + ancestor=$(git rev-list --simplify-merges -1 \ > + $ref -- "$filter_subdir") > test "$ancestor" && echo $(map $ancestor) >> "$workdir"/../map/$sha1 > done < "$tempdir"/heads > fi Hmm, where does this preimage come from?