Re: Deleting remote branches with git-branch and reflog questions
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 23, 2007, 21:25 UTC
- Message-ID
- <7v1wllo2p6.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200701231314.53361.andyparkins@gmail.com>
Andy Parkins <andyparkins@gmail.com> writes:
> Aren't /all/ the logged refs under "refs/" these > days?
Yes, so what. It's not a big deal, and it's too late to change, isn't it?
Seriously, I think with addition of 'git log --walk-reflogs' and 'git show-branch --reflog', there is less reason for an end user to look at the raw .git/logs/ directory these days. They might not fully expose the information recorded in reflog yet, but I think what they do show is useful and adequate. If some useful information is lacking from their output, we should solve that by enhancing them, not by moving .git/logs/refs up one level to save the end user five keystrokes to allow him to run less head or tail on ".git/logs/heads/master".
And we might want to allow reflogs on detached HEAD someday, although I personally think it goes against what detached HEAD is -- it is of a very temporary nature.