Re: why "Not currently on any branch" but no "HEAD detached"?

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

 



On Mon, 30 Mar 2020, Junio C Hamano wrote:

> "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> 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



[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]

  Powered by Linux