public inbox for gentoo-project@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-project@lists.gentoo.org
Subject: Re: [gentoo-project] Council / Git Migration Agenda
Date: Tue, 7 Oct 2014 07:09:33 -0400	[thread overview]
Message-ID: <CAGfcS_ktPCP4BYcjXLLVEnbX3Mqga3nMpA0JzkGWTjJ=XVka1A@mail.gmail.com> (raw)
In-Reply-To: <5433C7D8.1080002@gentoo.org>

On Tue, Oct 7, 2014 at 7:00 AM, Anthony G. Basile <blueness@gentoo.org> wrote:
> On 10/07/14 06:58, Rich Freeman wrote:
>>
>> On Tue, Oct 7, 2014 at 3:57 AM, Dirkjan Ochtman <djc@gentoo.org> wrote:
>>>
>>> Can we do that without requiring the git replace stuff? E.g. have
>>> dev.git be a shallow clone of a joined-history.git?
>>>
>> That was the original plan I suggested abandoning in my email, for the
>> reasons stated in my email.  None of them had to do with repository
>> size, actually, though having a repository with an obsolete 1.5GB
>> history embedded certainly isn't ideal.
>>
>
> What does a shallow clone mean exactly?
>

It means a git repository that does not contain the full history.
That is, if you take one of the heads, such as master, and follow the
parent commits back, you eventually reach a commit that isn't actually
in the repository.  Git now has a --depth option to allow making them
easily in a clone operation.

Not all operations may work on them, but I've found conflicting
stories online about what is/isn't possible.  Generally you would
probably want full clones in all the official repositories to avoid
issues.

--
Rich


  reply	other threads:[~2014-10-07 11:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-04  0:00 [gentoo-project] Council / Git Migration Agenda Rich Freeman
2014-10-04  7:15 ` Michał Górny
2014-10-05  8:18 ` Dirkjan Ochtman
2014-10-05  9:33   ` Michał Górny
2014-10-06  1:27   ` hasufell
2014-10-06  2:50   ` Seemant Kulleen
2014-10-06  5:48     ` Ulrich Mueller
2014-10-06  8:42       ` Seemant Kulleen
2014-10-06  8:48       ` Michał Górny
2014-10-07  7:57         ` Dirkjan Ochtman
2014-10-07  8:07           ` [gentoo-scm] " Michał Górny
2014-10-07  8:20             ` Ulrich Mueller
2014-10-07  8:26               ` Michał Górny
2014-10-07 10:58           ` Rich Freeman
2014-10-07 11:00             ` Anthony G. Basile
2014-10-07 11:09               ` Rich Freeman [this message]
2014-10-09 19:33       ` Tom Wijsman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGfcS_ktPCP4BYcjXLLVEnbX3Mqga3nMpA0JzkGWTjJ=XVka1A@mail.gmail.com' \
    --to=rich0@gentoo.org \
    --cc=gentoo-project@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox