git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: git@vger.kernel.org
Subject: Re: Thinning a repository
Date: Sun, 30 Nov 2014 13:35:36 +0100	[thread overview]
Message-ID: <m5f2up$554$1@ger.gmane.org> (raw)
In-Reply-To: <20141130123400.GG31751@paksenarrion.iveqy.com>

On 11/30/2014 01:34 PM, Fredrik Gustafsson wrote:
> On Sun, Nov 30, 2014 at 01:18:34PM +0100, Yuri D'Elia wrote:
>> Is there a quick way to reproduce the effect of a shallow clone on a
>> local repository that doesn't involve filter-branch and/or re-clone?
> 
> I'm curious, why is it a bad thing to do a re-clone? If you clone your
> local repo it would be really fast.

I see no reason to involve the workspace.
I would also want to keep the current remote/origin as it is.

I expect a 'thin' command to be faster by not touching the workspace at all.

      reply	other threads:[~2014-11-30 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-30 12:18 Thinning a repository Yuri D'Elia
2014-11-30 12:34 ` Fredrik Gustafsson
2014-11-30 12:35   ` Yuri D'Elia [this message]

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='m5f2up$554$1@ger.gmane.org' \
    --to=wavexx@thregr.org \
    --cc=git@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).