Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763566AbYBMBBA (ORCPT ); Tue, 12 Feb 2008 20:01:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751953AbYBMBAw (ORCPT ); Tue, 12 Feb 2008 20:00:52 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:54640 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbYBMBAv (ORCPT ); Tue, 12 Feb 2008 20:00:51 -0500 Date: Tue, 12 Feb 2008 16:59:23 -0800 (PST) From: Linus Torvalds To: Al Viro cc: "J. Bruce Fields" , David Miller , jeff@garzik.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linville@tuxdriver.com Subject: Re: Announce: Linux-next (Or Andrew's dream :-)) In-Reply-To: <20080213004841.GM27894@ZenIV.linux.org.uk> Message-ID: References: <20080212055312.GA5631@kroah.com> <20080211.220726.157328337.davem@davemloft.net> <47B1C9F4.30402@garzik.org> <20080212.155107.251983955.davem@davemloft.net> <20080212235401.GL27894@ZenIV.linux.org.uk> <20080213001650.GY18625@fieldses.org> <20080213004841.GM27894@ZenIV.linux.org.uk> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1436 Lines: 34 On Wed, 13 Feb 2008, Al Viro wrote: > On Tue, Feb 12, 2008 at 07:16:50PM -0500, J. Bruce Fields wrote: > > > Ahem... Use of git-cherry-pick preserves commit information just fine. > > > > Not by default, at least (note they said "commiters", not "authors"): > > That's why you give it -r. Hmm. "-r" is a no-op to git-cherry-pick. And even if you thought it should preserve committer information, it really _really_ shouldn't. You're creating a new commit, you're the new committer. The old committer is meaningless. It doesn't matter at all if you try to keep the old committer information (which you can do by faking GIT_COMMITER_NAME?EMAIL): you're simply just _lying_ at that point. The original committer has a different commit in his tree, and if you try to claim that your cherry-picked commit is his, you're only doing everybody a disservice. If you meant using "-x", then yes, that retains the actual pointer to the original commit, but it's not the default, because it shouldn't be used unless you plan to carry both around on purpose (ie it's mainly useful for "maintain a stable branch that has commits cherry-picked from mainline" kinds of things). Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/