From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] checkout: honor advice.detachedHead when reattaching to a branch
Date: Fri, 6 May 2011 19:21:18 -0400 [thread overview]
Message-ID: <20110506232118.GA24794@sigill.intra.peff.net> (raw)
In-Reply-To: <7vbozfxwon.fsf@alter.siamese.dyndns.org>
On Fri, May 06, 2011 at 03:59:20PM -0700, Junio C Hamano wrote:
> > I tend to think (3) is now just useless.
>
> Quite the contrary. If you do not want to pay the price of (4) that is
> useless most of the time, (3) is a cheap, space efficient and useful
> information that is essential to allow you to get rid of (4) without
> having to look at reflog.
Sorry, I should have been more clear. If you turn off orphan-checking,
(3) is just as useful as it always was. But _if_ you have
orphan-checking turned on, and it comes up negative, showing (3) is not
particularly useful. You already know you are not losing commits.
-Peff
next prev parent reply other threads:[~2011-05-06 23:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-06 20:35 [PATCH] checkout: honor advice.detachedHead when reattaching to a branch Junio C Hamano
2011-05-06 22:38 ` Jeff King
2011-05-06 22:59 ` Junio C Hamano
2011-05-06 23:21 ` Jeff King [this message]
2011-05-07 1:38 ` Jeff King
2011-05-24 17:11 ` Junio C Hamano
2011-05-24 20:27 ` Jeff King
2011-05-24 21:24 ` 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=20110506232118.GA24794@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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;
as well as URLs for NNTP newsgroup(s).