Subject: Re: [PATCH 2/2] Protect commits recorded in reflog from pruning.

From: Shawn Pearce <[email-masked]>
Date: Mon, 18 Dec 2006 09:08:13 -0500

Junio C Hamano <[email-masked]> wrote:
> This teaches fsck-objects and prune to protect objects referred
> to by reflog entries.

Nice!

But its not enough.

  $ git-repack -a -d
  $ git reset --hard HEAD^
  $ git-repack -a -d
  $ git reset --hard HEAD@{1}

that last reset would fail now, wouldn't it?  pack-objects needs
to know it should be pulling in the objects stuff reachable from
reflogs too.

--