Re: Seriously broken "git pack-refs"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> 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.



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]