Re: [PATCH 1/3] retain reflogs for deleted refs
- From
Alexey Muranov <alexey.muranov@gmail.com>
- Date
- Jul 22, 2012, 11:10 UTC
- Message-ID
- <6F148977-4F57-47FF-B43B-0997694F3891@gmail.com>
- In-Reply-To
- <20120720154403.GB2862@sigill.intra.peff.net>
On 20 Jul 2012, at 17:44, Jeff King wrote:
Show 20 quoted lines
> On Fri, Jul 20, 2012 at 11:49:07AM +0200, Michael Haggerty wrote: > >>> This patch moves reflog entries into a special "graveyard" >>> namespace, and appends a tilde (~) character, which is >>> not allowed in a valid ref name. This means that the deleted >>> reflogs of these refs: >>> >>> refs/heads/a >>> refs/heads/a/b >>> refs/heads/a/b/c >>> >>> will be stored in: >>> >>> logs/graveyard/refs/heads/a~ >>> logs/graveyard/refs/heads/a/b~ >>> logs/graveyard/refs/heads/a/b/c~ >>> >>> Putting them in the graveyard namespace ensures they will >>> not conflict with live refs, and the tilde prevents D/F >>> conflicts within the graveyard namespace.
Sorry if this idea is stupid or if i miss something, but how about putting deleted reflogs for
refs/heads/a refs/heads/a/b refs/heads/a/b/c
to
refs/heads/a@yyyy-mm-dd-hhmmss refs/heads/a/b@yyyy-mm-dd-hhmmss refs/heads/a/b/c@yyyy-mm-dd-hhmmss
with the time they were deleted?
-Alexey.