From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-52101-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SaPVl-0008P8-Ni
	for garchives@archives.gentoo.org; Fri, 01 Jun 2012 10:55:20 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 85437E06B7;
	Fri,  1 Jun 2012 10:54:49 +0000 (UTC)
Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id AA500E055B
	for <gentoo-dev@lists.gentoo.org>; Fri,  1 Jun 2012 10:54:05 +0000 (UTC)
Received: by bkcjk13 with SMTP id jk13so1947544bkc.40
        for <gentoo-dev@lists.gentoo.org>; Fri, 01 Jun 2012 03:54:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        bh=SEuiW5PPer7CCqFK2ZF82tG95WsJLzerTrPxsuLMu6Q=;
        b=lc27L16CUlhhtPwMQp7t25c3DJH/jkwA1eQk69DEIeWJbxrjB7385to9aCZp70afP/
         kyDJ8hxvYTL7VrOvJY1iwjvNQe5xkZaygjYuK2+HCV/mWc1da2pPP58S582BaFpqLc/J
         PwC0exi89tunon5flpf2r8HW2TAXLerpE+519HuWFIpso4oTISlNuJiESw29koyyYOTR
         VuGxA5E9LUyHrMhSEKp4tc3Pg1BuQ7Zy35k/jVF/jUgO3DhAG80dt5Djo7Av4oFSbNy8
         ohp4nyWlMHYYRA4QIwG4Tf6lqnMPp9lL1nETrz3UFh637ZboP3WYZvG63AZGLt6GURR5
         EVaw==
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.204.141.9 with SMTP id k9mr1242231bku.138.1338548044674; Fri,
 01 Jun 2012 03:54:04 -0700 (PDT)
Sender: freemanrich@gmail.com
Received: by 10.204.149.211 with HTTP; Fri, 1 Jun 2012 03:54:04 -0700 (PDT)
In-Reply-To: <CAATnKFA814-G3NwaNddmmjnN=5L5tOsk1dw+SHO861STwkfrZQ@mail.gmail.com>
References: <ddd8ff651a1f5d00ea13fbd9e105ddfa@omrb.pnpi.spb.ru>
	<CAGfcS_kOCDZ6Ur37+YYx4DR+1b3c-VWE6eNiefS7HJbqtuKKJA@mail.gmail.com>
	<pan.2012.05.30.09.38.51@cox.net>
	<CAKmKYaCgdi8uFssF=7rMhAunAs4=qRPgycT0uJYLVGQOhXkuLA@mail.gmail.com>
	<CAGfcS_kezhc3ZyfU6Kt1kXCDZqd3VydTjF3BeSt2moEDkbaOSA@mail.gmail.com>
	<pan.2012.05.30.13.06.45@cox.net>
	<robbat2-20120530T183226-760252197Z@orbis-terrarum.net>
	<CAKmKYaBPFXtgPVtY4UQvnD1AjN0oYRz0cDLmZuGzPNNSGnS9YQ@mail.gmail.com>
	<robbat2-20120531T163959-415201853Z@orbis-terrarum.net>
	<CAGfcS_mSMrS5oYJL3+v2qiCN=efNPestH3je2L7fLvmch2sdVQ@mail.gmail.com>
	<20120531191804.GA24784@linux1>
	<20120531213303.57529c85@pomiocik.lan>
	<79847e2567d341102303362662063b0d@omrb.pnpi.spb.ru>
	<CAATnKFDDg-3Kp-z5STFa8QxMPyd9EcQRoXkZMkeF2LkpW0V3Xw@mail.gmail.com>
	<CAGfcS_nGgOpA2BdPOA++M3EeG6j34KpAsNexuZ=zN6s-YqqW5Q@mail.gmail.com>
	<CAATnKFA814-G3NwaNddmmjnN=5L5tOsk1dw+SHO861STwkfrZQ@mail.gmail.com>
Date: Fri, 1 Jun 2012 06:54:04 -0400
X-Google-Sender-Auth: R7r1HL2BdoM2FP7LFgpqZXPduFI
Message-ID: <CAGfcS_k9SHiRbzXee14giw6eF53whPR4K=6KC6roSbs8mDRXMQ@mail.gmail.com>
Subject: Re: [gentoo-dev] Re: Portage Git migration - clean cut or git-cvsserver
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 3f03ee2e-97b0-44a5-b925-01a11c0aec2f
X-Archives-Hash: 7f4ae09808b3dbc74cf0a516f7de6ce3

On Fri, Jun 1, 2012 at 12:55 AM, Kent Fredric <kentfredric@gmail.com> wrote:
>
> Hmm, thats annoying. Almost makes me wish it was the trees that were
> signed, not the commits.

I think it is the tree that is signed, but that changes too.

Rebasing re-applies the same diff to the new head to give you a new
set of commits.  When you apply the same diff to a different parent
you end up with a different tree, so the tree signature won't be the
same either.

Keep in mind that git does not store a long train of diffs.  It stores
a long chain of complete trees, and the diffs get calculated if you
ask for them.  Since it is COW you only re-store files that actually
change, and incorporate others by reference.  However, if you have a
1MB file that you change 1 line on 100x, you'll end up with 100MB of
files.  Of course, when they get packed I'd hope that they'd compress
well.

Rich