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

Re: What's cooking in git.git (Apr 2010, #02; Sun, 04)

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Apr 6, 2010, 01:12 UTC
Message-ID
<4BBA8A8C.2080905@drmicha.warpmail.net>
In-Reply-To
<7vtyrr6nes.fsf@alter.siamese.dyndns.org>
Junio C Hamano venit, vidit, dixit 05.04.2010 03:14:
Show 6 quoted lines
> Here are the topics that have been cooking.  Commits prefixed with '-' are
> only in 'pu' while commits prefixed with '+' are in 'next'.  The ones
> marked with '.' do not appear in any of the integration branches, but I am
> still holding onto them.
> 
> --------------------------------------------------
Show 7 quoted lines
> * mg/notes-reflog (2010-03-29) 2 commits
>  - refs.c: Write reflogs for notes just like for branch heads
>  - t3301-notes: Test the creation of reflog entries
> 
> Implementation is trivially correct; I am unsure if "notes" tree wants
> reflog in the first place, though.  Please convince me and I'll move it
> to 'next' soon, aiming for -rc0 or -rc1 at the latest.

I think that Jeff's impressive textconv caching is only the first of many uses of notes where the notes ref is not a branch head with continuously added history, but where the ref is being rewritten over and over again. Also, people may rewrite their refs/notes/commits when experimenting with remote notes trees.

In both cases, I deem the reflog "backup" a useful safety measure (just as for other refs), and the automatic purging of the reflog provides just the appropriate housekeeping.

Michael
Previous: Junio C HamanoNext: Jeff King
Message 2 of 8 in “What's cooking in git.git (Apr 2010, #02; Sun, 04)”
  1. Junio C HamanoApr 4, 2010
  2. Michael J GruberApr 6, 2010
  3. Jeff KingApr 6, 2010
  4. log --pretty/--oneline: ignore log.decorateJunio C Hamano, Apr 6, 2010
  5. Jeff KingApr 8, 2010
  6. Junio C HamanoApr 8, 2010
  7. Jeff KingApr 8, 2010
  8. Junio C HamanoApr 8, 2010

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.