Re: Thinning a repository

2014-11-30 Thread Yuri D'Elia
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

Re: Thinning a repository

2014-11-30 Thread Fredrik Gustafsson
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 r

Thinning a repository

2014-11-30 Thread Yuri D'Elia
Hi everyone, 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? My motivation is to reduce the local size of repositories I'm only following, by trimming the history without prejudice to a [N] set of last commi