From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] filter-branch: use --simplify-merges Date: Mon, 11 Aug 2008 19:13:26 -0700 Message-ID: <7v7iant1yx.fsf@gitster.siamese.dyndns.org> References: <7viqub9dzi.fsf@gitster.siamese.dyndns.org> <1218376960-6406-1-git-send-email-trast@student.ethz.ch> <7vljz3t2ts.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org, gitster@pobox.com, Johannes Schindelin , Jan Wielemaker To: Thomas Rast X-From: git-owner@vger.kernel.org Tue Aug 12 04:14:45 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KSjPB-0005Nf-PY for gcvg-git-2@gmane.org; Tue, 12 Aug 2008 04:14:38 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564AbYHLCNg (ORCPT ); Mon, 11 Aug 2008 22:13:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751492AbYHLCNf (ORCPT ); Mon, 11 Aug 2008 22:13:35 -0400 Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:41019 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751419AbYHLCNf (ORCPT ); Mon, 11 Aug 2008 22:13:35 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTP id B674B55AE1; Mon, 11 Aug 2008 22:13:34 -0400 (EDT) Received: from pobox.com (ip68-225-240-211.oc.oc.cox.net [68.225.240.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 9E45855ADB; Mon, 11 Aug 2008 22:13:28 -0400 (EDT) In-Reply-To: <7vljz3t2ts.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Mon, 11 Aug 2008 18:54:55 -0700") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Pobox-Relay-ID: 446922C0-6814-11DD-98B1-3113EBD4C077-77302942!a-sasl-quonix.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Junio C Hamano writes: > 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? Nevermind. You based this on top of the "fix ancestor discovery" patch. I'll squash these two and queue them in 'pu' for now.