Re: [PATCH] logging branch deletion to help recovering from mistakes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 7, 2010, 06:28 UTC
- Message-ID
- <7vmxoiqeoq.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <AANLkTikbsyFUzZeu8R6yAND6spV6OnvYL08gYZ+ZgJCh@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
Show 6 quoted lines
> On Tue, Dec 7, 2010 at 4:16 AM, Junio C Hamano <gitster@pobox.com> wrote: >> +#define BRANCH_DELETION_LOG "DELETED-REFS" >> + > > Should this special log be mentioned in git-update-ref.txt or > gitrepository-layout.txt?
Perhaps, but I wasn't sure if this patch itself is a good idea to begin with. Not the problem it tries to solve, but its approach.
For example, this cannot be shown with "reflog show" or "log -g" due to the way these frontends locate the reflog file to read (the logic wants to have an underlying ref).