git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Andy ParkinsNext: Johannes Schindelin
Message 4 of 16 in “Deleting remote branches with git-branch and reflog questions”
  1. Andy ParkinsJan 23, 2007
  2. Andreas EricssonJan 23, 2007
  3. Andy ParkinsJan 23, 2007
  4. Junio C HamanoJan 23, 2007
  5. Johannes SchindelinJan 23, 2007
  6. Nicolas PitreJan 23, 2007
  7. Johannes SchindelinJan 23, 2007
  8. Junio C HamanoJan 24, 2007
  9. Nicolas PitreJan 24, 2007
  10. Jakub NarebskiJan 24, 2007
  11. Nicolas PitreJan 24, 2007
  12. Johannes SchindelinJan 24, 2007
  13. Jakub NarebskiJan 23, 2007
  14. Andy ParkinsJan 23, 2007
  15. Johannes SchindelinJan 23, 2007
  16. Andy ParkinsJan 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.