Re: [PATCH] logging branch deletion to help recovering from mistakes
- From
- Casey Dahlin <cdahlin@redhat.com>
- Date
- Dec 7, 2010, 17:54 UTC
- Message-ID
- <20101207175418.GU355@fearengine.rdu.redhat.com>
- In-Reply-To
- <20101207174520.GB21483@burratino>
On Tue, Dec 07, 2010 at 11:45:20AM -0600, Jonathan Nieder wrote:
Show 8 quoted lines
> Casey Dahlin wrote: > > > Could commits made onto a detached head also show up here? Or is that > > better thwarted with another mechanism? > > I think that's better thwarted with the HEAD reflog: > > $ git log -g HEAD
I was more worried about changes that were made onto a detached head, and then the head was reattached, leaving the new commits dangling.
The end result is identical to a deleted branch, just wondering if we should note it in the same place.
--CJD