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

Re: Tracking branch history

From
Junio C Hamano <junkio@cox.net>
Date
May 14, 2006, 23:14 UTC
Message-ID
<7vk68o19n4.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060513181816.GA12475@spearce.org>
Shawn Pearce <spearce@spearce.org> writes:
> Log ref updates to logs/refs/<ref>
>
> If config parameter core.logRefUpdates is true then append a line
> to .git/logs/refs/<ref> whenever git-update-ref <ref> is executed.

I cannot decide if a parameter makes more sense, or just making the existence of such a file a cue is better. For example, I do not much care about when I updated each of my topic branch head, while I do care about master, next, and pu branches. A global parameter would make this black-or-white choice, while opening the log without O_CREAT and write things out only when the log file exists might make things as easy and controllable.

I could "touch" the ones I care about to prime the process.
Hmm?
Previous: Shawn PearceNext: Shawn Pearce
Message 13 of 21 in “Tracking branch history”
  1. Daniel BarkalowMay 12, 2006
  2. Linus TorvaldsMay 12, 2006
  3. Linus TorvaldsMay 13, 2006
  4. Daniel BarkalowMay 13, 2006
  5. Shawn PearceMay 13, 2006
  6. Linus TorvaldsMay 13, 2006
  7. Junio C HamanoMay 13, 2006
  8. Shawn PearceMay 13, 2006
  9. Shawn PearceMay 13, 2006
  10. Linus TorvaldsMay 13, 2006
  11. Junio C HamanoMay 13, 2006
  12. Shawn PearceMay 13, 2006
  13. Junio C HamanoMay 14, 2006
  14. Shawn PearceMay 15, 2006
  15. Shawn PearceMay 15, 2006
  16. Junio C HamanoMay 15, 2006
  17. Shawn PearceMay 15, 2006
  18. Shawn PearceMay 15, 2006
  19. Linus TorvaldsMay 13, 2006
  20. ElrondMay 13, 2006
  21. Junio C HamanoMay 14, 2006

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.