From: Jeff King Date: Wed, 03 Sep 2008 19:41:56 GMT Subject: Re: [RFC] Detached-HEAD reminder on commit? Message-ID: <20080903194156.GA31756@coredump.intra.peff.net> In-Reply-To: <7vljy9auoq.fsf@gitster.siamese.dyndns.org> On Wed, Sep 03, 2008 at 12:36:05PM -0700, Junio C Hamano wrote: > It was a good idea to keep the scripted ones in contrib/examples so that > they are readily accessible to find out what we used to do ;-). Who's to say I didn't do: deleted=$(git log -1 --pretty=format:%H --diff-filter=D -- git-checkout.sh) git show ${deleted}^:git-checkout.sh ? :P -Peff PS Actually, I was about to look it up in the history when I remembered that we put it into contrib. :)