Re: [QUESTION] Access to a huge GIT repository.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Nov 17, 2005, 22:44 UTC
- Message-ID
- <Pine.LNX.4.64.0511171443000.13959@g5.osdl.org>
- In-Reply-To
- <cda58cb80511171347yef4f090g@mail.gmail.com>
On Thu, 17 Nov 2005, Franck wrote:
Show 11 quoted lines
> 2005/11/17, Linus Torvalds <torvalds@osdl.org>: > > > > What you probably _can_ do is to find whatever top-most commit you want > > (say, the v2.6.0 commit), and use grafting to make that have no parents. > > Then you can do git-prune to get rid of everything under it. > > > > ok that's what I was trying to do by killing the parent object. Now > when looking a the graph using gitk all old objects have been removed. > But I'm suprised because the git repository is the same size as it was > before pruning all old objects. Can you explain why ?
make sure you re-pack if it was packed. "git prune" will not remove packs at all, so..
Linus