From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Guilhem Bonnefille" Subject: Re: git-svn: commit author x commit committer issue Date: Wed, 22 Aug 2007 12:07:58 +0200 Message-ID: <8b65902a0708220307g2cb4b290s9bbf4603af7489fa@mail.gmail.com> References: <46B9C92B.3000000@st.com> <20070816092002.GD16849@muzzle> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Richard MUSIL" , git@vger.kernel.org To: "Eric Wong" X-From: git-owner@vger.kernel.org Wed Aug 22 12:08:08 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1INn8B-0003mG-My for gcvg-git@gmane.org; Wed, 22 Aug 2007 12:08:08 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756326AbXHVKIC (ORCPT ); Wed, 22 Aug 2007 06:08:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752928AbXHVKIA (ORCPT ); Wed, 22 Aug 2007 06:08:00 -0400 Received: from wr-out-0506.google.com ([64.233.184.236]:15086 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372AbXHVKIA (ORCPT ); Wed, 22 Aug 2007 06:08:00 -0400 Received: by wr-out-0506.google.com with SMTP id 36so93482wra for ; Wed, 22 Aug 2007 03:07:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eGL3LWtWCiKir9IxLVWIIXXdeSIO+XDEXQwO1WK0PNiX0EJk0tbihaVbM9W5ZfF5tnp987esVkln9nq8dm1/UrBjXuxLBYxvWE27JwBkWv08FDB0bQT13VrQ6ydwDx6VWHXNuniMvNFj380P5QAEUtaukN3rkP+zGRHI7Oa2iPc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E5o9s0F1jDK1RnZRz1kdznofePZg1ESVks+JrRMcEfCxET+0RboKfYKg8mT4Wu0589j+ILPcldPxIX4nv8dvUl3e1gfw6SiZyGDyTBQxqVkg3OOTIjEaXiY+Ju6VTEtjCnSKuIkRNzM1rQGBblV/tm+CMyKFd5J8fZBr70Oqvb4= Received: by 10.90.120.13 with SMTP id s13mr4104029agc.1187777278822; Wed, 22 Aug 2007 03:07:58 -0700 (PDT) Received: by 10.100.46.11 with HTTP; Wed, 22 Aug 2007 03:07:58 -0700 (PDT) In-Reply-To: <20070816092002.GD16849@muzzle> Content-Disposition: inline Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On 8/16/07, Eric Wong wrote: > Richard MUSIL wrote: > > Normally, when patch is applied, git distinguishes commit author and > > commit committer (relying on info from patch). > > However, after the patches are committed to svn repository using: > > git-svn dcommit > > author and committer data are set to same values (or at least time and > > date, I cannot verify it for names). > > I wonder if there is any reason for this behavior, because I would > > definitely like to keep original commit info (which came from patch) in > > my git repository. > > I try to keep commits made to SVN using git-svn as much like commits > made using other SVN clients as much as possible. > > Two people using git-svn (in its recommended fashion and maintaining > linear history) can have identical SHA1s in their repository even if > those two repositories had never seen each other before. Consistency > is good. > > I also want to avoid creating extra junk on the SVN repository which I > don't personally consider very important. SVK does stuff like that with > merges, and only SVK understands the metadata it uses. I prefer > transparency. Instead of using SVN metadata, why not store the missing information like git-svn store the SVN rev id. (in the commit log as I know). -- Guilhem BONNEFILLE -=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com -=- mailto:guilhem.bonnefille@gmail.com -=- http://nathguil.free.fr/