Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: git@vger.kernel.org
Subject: Re: Seriously broken "git pack-refs"
Date: Thu, 25 Jan 2007 19:22:27 -0800	[thread overview]
Message-ID: <7v7iva4glo.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0701251636060.25027@woody.linux-foundation.org> (Linus Torvalds's message of "Thu, 25 Jan 2007 16:51:21 -0800 (PST)")

Linus Torvalds <torvalds@linux-foundation.org> 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.

  reply	other threads:[~2007-01-26  3:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-26  0:51 Seriously broken "git pack-refs" Linus Torvalds
2007-01-26  3:22 ` Junio C Hamano [this message]
2007-01-26  6:05   ` Linus Torvalds
2007-01-26  6:08     ` Junio C Hamano
2007-01-26  6:24       ` Linus Torvalds
2007-01-26  6:50         ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7v7iva4glo.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox