login
Header Space

 
 

Re: git gc & deleted branches

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Brandon Casey <casey@...>
Cc: Guido Ostkamp <git@...>, <git@...>
Date: Thursday, May 8, 2008 - 4:56 pm

On Thu, May 08, 2008 at 03:07:53PM -0500, Brandon Casey wrote:


Yes, I want to chime in since I have been giving advice in such threads:
Please don't construe my help as any sort of endorsement of this
behavior. Git tries hard not to lose your data, and it is almost always
a bad idea to try to override these safety checks unless you really know
what you are doing.

And even then, try to consider balancing a bit of freed disk space (and
generally _no_ performance gain, because git is very good about not
looking at objects that aren't necessary to the current operation)
versus thinking "oops, I wish I still had that data" in a few days.

I can think offhand of only one time when it was truly useful for me to
prune aggressively, and it was a very special case: a pathologically
large repo for which I was doing a one-shot conversion from another
format (and I wanted to prune failed attempts).

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git gc &amp; deleted branches, Guido Ostkamp, (Thu May 8, 1:45 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 2:39 pm)
Re: git gc &amp; deleted branches, Guido Ostkamp, (Thu May 8, 2:55 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 4:51 pm)
Re: git gc &amp; deleted branches, Brandon Casey, (Thu May 8, 4:07 pm)
Re: git gc & deleted branches, Jeff King, (Thu May 8, 4:56 pm)
Re: git gc &amp; deleted branches, Guido Ostkamp, (Thu May 8, 4:52 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 5:01 pm)
Re: git gc &amp; deleted branches, Guido Ostkamp, (Thu May 8, 5:33 pm)
Re: git gc &amp; deleted branches, Nicolas Pitre, (Thu May 8, 5:15 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 5:17 pm)
Re: git gc &amp; deleted branches, Brandon Casey, (Thu May 8, 5:23 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 5:31 pm)
Re: git gc &amp; deleted branches, Brandon Casey, (Thu May 8, 5:40 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 5:44 pm)
Re: git gc &amp; deleted branches, Brandon Casey, (Thu May 8, 5:53 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 6:48 pm)
speck-geostationary