Re: master^ is not a local branch -- huh?!?
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Jan 30, 2010, 05:25 UTC
- Message-ID
- <alpine.LFD.2.00.1001300018040.1681@xanadu.home>
- In-Reply-To
- <76718491001292111y2d15620ei8a12c081a9283a07@mail.gmail.com>
On Sat, 30 Jan 2010, Jay Soffian wrote:
Show 9 quoted lines
> This sounds right to me too. There's nothing wrong with having a > detached HEAD, and nothing wrong with creating commits in that state. > You're effectively creating an anonymous branch in the DAG and it's > subject to garbage collection if you move away from that anonymous > branch w/o naming it. > > Pedantic note: you don't lose those commits at the next checkout. They > are merely subject to garbage collection (and not until they age out > of HEAD's reflog). I know you know that, just being precise. :-)
Being the actual author of the code managing the separate HEAD reflog, I do know that indeed. ;-)
Nicolas