{"thread":{"id":"53133","subject":"why \"Not currently on any branch\" but no \"HEAD detached\"?","startedAt":"2020-03-30T16:16:56Z","lastAt":"2020-03-30T16:39:47Z","messageCount":3,"participants":["Robert P. J. Day","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"394367","messageId":"alpine.LFD.2.21.2003301211330.14880@localhost.localdomain","threadId":"53133","inReplyTo":null,"subject":"why \"Not currently on any branch\" but no \"HEAD detached\"?","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2020-03-30T16:16:50Z","receivedAt":"2020-03-30T16:16:56Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"\n  probably a silly question (and probably related to using an old\nversion of git), but on a ubuntu 16.04.6 dev system, i used google's\n\"repo\" tool to check out a bunch of git repos, and when i pop into\nthose git repos and run \"git status\", i see:\n\n  # Not currently on any branch\n  nothing to commit, working tree clean\n\ni'm used to seeing \"HEAD detached at <something>\" ... is the above\njust an older style of the same message, given that this system uses\ngit 2.9.2? or is there something else going on here?\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                         http://crashcourse.ca\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"},{"id":"394368","messageId":"xmqq8sjhajp2.fsf@gitster.c.googlers.com","threadId":"53133","inReplyTo":"alpine.LFD.2.21.2003301211330.14880@localhost.localdomain","subject":"Re: why \"Not currently on any branch\" but no \"HEAD detached\"?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2020-03-30T16:31:05Z","receivedAt":"2020-03-30T16:31:10Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Robert P. J. Day\" <rpjday@crashcourse.ca> writes:\n\n>   probably a silly question (and probably related to using an old\n> version of git), but on a ubuntu 16.04.6 dev system, i used google's\n> \"repo\" tool to check out a bunch of git repos, and when i pop into\n> those git repos and run \"git status\", i see:\n>\n>   # Not currently on any branch\n>   nothing to commit, working tree clean\n>\n> i'm used to seeing \"HEAD detached at <something>\" ... is the above\n> just an older style of the same message, given that this system uses\n> git 2.9.2? or is there something else going on here?\n\nb397ea48 (status: show more info than \"currently not on any branch\",\n2013-03-13) is the culprit.  We used to just say the HEAD was\ndetached, but for the past 7 years or so, when we know the last\nbranch we were on before detaching, we report the name of the\nbranch.\n"},{"id":"394369","messageId":"alpine.LFD.2.21.2003301238040.15750@localhost.localdomain","threadId":"53133","inReplyTo":"xmqq8sjhajp2.fsf@gitster.c.googlers.com","subject":"Re: why \"Not currently on any branch\" but no \"HEAD detached\"?","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2020-03-30T16:39:40Z","receivedAt":"2020-03-30T16:39:47Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"On Mon, 30 Mar 2020, Junio C Hamano wrote:\n\n> \"Robert P. J. Day\" <rpjday@crashcourse.ca> writes:\n>\n> >   probably a silly question (and probably related to using an old\n> > version of git), but on a ubuntu 16.04.6 dev system, i used google's\n> > \"repo\" tool to check out a bunch of git repos, and when i pop into\n> > those git repos and run \"git status\", i see:\n> >\n> >   # Not currently on any branch\n> >   nothing to commit, working tree clean\n> >\n> > i'm used to seeing \"HEAD detached at <something>\" ... is the above\n> > just an older style of the same message, given that this system uses\n> > git 2.9.2? or is there something else going on here?\n>\n> b397ea48 (status: show more info than \"currently not on any branch\",\n> 2013-03-13) is the culprit.  We used to just say the HEAD was\n> detached, but for the past 7 years or so, when we know the last\n> branch we were on before detaching, we report the name of the\n> branch.\n\n  got it, thanks.\n\nrday\n"}]}