From: Casey Dahlin Date: Tue, 07 Dec 2010 16:23:58 GMT Subject: Re: [PATCH] logging branch deletion to help recovering from mistakes Message-ID: <20101207162358.GT355@fearengine.rdu.redhat.com> In-Reply-To: <7vlj42siu5.fsf@alter.siamese.dyndns.org> On Mon, Dec 06, 2010 at 01:16:18PM -0800, Junio C Hamano wrote: > This adds core.logrefdeletion configuration variable (enabled by default > in a repository with a work tree, just like core.logallrefupdates), and > logs deletion of refs via "update-ref -d", "branch -d", etc. > > "git branch" learns a new "--list-deleted" option to help users view the > names of branches and the commit objects that were at the tip of them when > the branches were deleted. > Could commits made onto a detached head also show up here? Or is that better thwarted with another mechanism? --CJD