From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11987 invoked by alias); 7 Jan 2008 12:40:35 -0000 Received: (qmail 11975 invoked by uid 22791); 7 Jan 2008 12:40:34 -0000 X-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Jan 2008 12:40:16 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m07CeErM019393 for ; Mon, 7 Jan 2008 07:40:14 -0500 Received: from pobox-2.corp.redhat.com (pobox-2.corp.redhat.com [10.11.255.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m07CeDeZ010123; Mon, 7 Jan 2008 07:40:13 -0500 Received: from localhost.localdomain (vpn-6-28.fab.redhat.com [10.33.6.28]) by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m07CeBVI005110; Mon, 7 Jan 2008 07:40:12 -0500 Message-ID: <47821DAB.1060408@redhat.com> Date: Mon, 07 Jan 2008 12:40:00 -0000 From: Phil Muldoon User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Roland McGrath CC: Andrew Cagney , frysk@sourceware.org Subject: Re: [SCM] master: Rename Linux Host/Proc/Task to Linux Core/Ptrace Host/Proc/Task. References: <20080103045553.11108.qmail@sourceware.org> <477CB65D.3040806@redhat.com> <477D4941.7050202@redhat.com> <20080103205630.128A126F9A0@magilla.localdomain> In-Reply-To: <20080103205630.128A126F9A0@magilla.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00008.txt.bz2 Roland McGrath wrote: > git-mv does not do anything special, in fact. GIT's support for file > renaming is just implicit detection, not explicit markers from user action. > So, what matters is doing a commit that removes file A and adds file B, > where A and B have completely identical contents (matching sha1sum). > To preserve history, you have to carefully do a commit that only renames, > and then a commit that touches the contents of the file. > Well that jolly well rots. ;) So in future then to preserve log history a mv should be its own commit, and only the rename should be the commit. Regards Phil