Thread (25 messages) 25 messages, 6 authors, 2016-06-15

Re: git gc & deleted branches

flat view

From: Jeff King <hidden>
Date: 2016-06-15 22:44:35

On Thu, May 08, 2008 at 07:45:31PM +0200, Guido Ostkamp wrote:
[gc]
        reflogExpire = 0
        reflogExpireUnreachable = 0
        rerereresolved = 0
        rerereunresolved = 0
        packrefs = 1
git-gc uses a "safe" pruning mode, where it only prunes unreferenced
objects that are older than a certain period (this makes it safe to run
git-gc, even if other processes are creating objects at the same time).

So try

[gc]
        pruneExpire = now

Alternatively, you can just run 'git prune' manually instead of 'git
gc'.
I also tried 'git-pack-refs --all' or 'git-pack-refs --prune' but to no  
avail.
Those won't help at all; they are purely about moving refs from
individual files into the 'packed-refs' file.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help