git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git repack vs git gc --aggressive
@ 2012-08-07 18:22 Felix Natter
  2012-08-07 18:44 ` Jeff King
  0 siblings, 1 reply; 7+ messages in thread
From: Felix Natter @ 2012-08-07 18:22 UTC (permalink / raw)
  To: git

hello,

I read this:
  http://metalinguist.wordpress.com/2007/12/06/the-woes-of-git-gc-aggressive-and-how-git-deltas-work/
where
  git repack -a -d --depth=250 --window=250
is mentioned as a (recommended) alternative to git gc --aggressive.

I am a bit confused, because the page also mentions that git gc --aggressive
is recommended when a repo has been imported using git fast-import.

So my questions are:

1. is the above repack command (with --depth=500) safe? Of course I want
   to be absolutely sure that our repo will be consistent.
   Do I need another command ("git gc", "git prune") as well?

2. is it the right tool for the job or shall I use git gc --aggressive?

Thanks!
-- 
Felix Natter

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-13 17:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07 18:22 git repack vs git gc --aggressive Felix Natter
2012-08-07 18:44 ` Jeff King
2012-08-07 19:05   ` Junio C Hamano
2012-08-10 19:09     ` Felix Natter
2012-08-10 20:09       ` Junio C Hamano
2012-08-13 14:20         ` Marc Branchaud
2012-08-13 17:19           ` Junio C Hamano

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).