From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Junio C Hamano <gitster@pobox.com>
Cc: Git Mailing list <git@vger.kernel.org>
Subject: Re: why "Not currently on any branch" but no "HEAD detached"?
Date: Mon, 30 Mar 2020 12:39:40 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.21.2003301238040.15750@localhost.localdomain> (raw)
In-Reply-To: <xmqq8sjhajp2.fsf@gitster.c.googlers.com>
On Mon, 30 Mar 2020, Junio C Hamano wrote:
> "Robert P. J. Day" <rpjday@crashcourse.ca> writes:
>
> > probably a silly question (and probably related to using an old
> > version of git), but on a ubuntu 16.04.6 dev system, i used google's
> > "repo" tool to check out a bunch of git repos, and when i pop into
> > those git repos and run "git status", i see:
> >
> > # Not currently on any branch
> > nothing to commit, working tree clean
> >
> > i'm used to seeing "HEAD detached at <something>" ... is the above
> > just an older style of the same message, given that this system uses
> > git 2.9.2? or is there something else going on here?
>
> b397ea48 (status: show more info than "currently not on any branch",
> 2013-03-13) is the culprit. We used to just say the HEAD was
> detached, but for the past 7 years or so, when we know the last
> branch we were on before detaching, we report the name of the
> branch.
got it, thanks.
rday
prev parent reply other threads:[~2020-03-30 16:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-30 16:16 why "Not currently on any branch" but no "HEAD detached"? Robert P. J. Day
2020-03-30 16:31 ` Junio C Hamano
2020-03-30 16:39 ` Robert P. J. Day [this message]
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=alpine.LFD.2.21.2003301238040.15750@localhost.localdomain \
--to=rpjday@crashcourse.ca \
--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).