Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: Seriously broken "git pack-refs"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:51

Linus Torvalds [off-list ref] writes:
The default for "git pack-refs" is to pack just tags. Which is a HORRIBLE 
MISTAKE. Becuase it means that if you actually had any packed non-tags, 
they now get removed entirely.

I'd call whoever made that decision a complete crack-addict and total 
idiot, but it might be me, so I'll just tread carefully and call the 
choice "interesting".
Guilty as charged, I guess (I haven't asked 'blame' about it but
I am reasonably sure it was me).  And thanks for catching it.

But I think "only packing tags" is a reasonable default, as
local branch heads are meant to be advanced, and remote tracking
branches follow whatever happens on the remote end upon every
fetch.  Tags on the other hand are meant to be stationary.

What was a HORRIBLE MISTAKE was not repacking what came out of
the pack if it was pruned.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help