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

Re: [PATCH] Add support for commit attributes

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 10, 2014, 17:26 UTC
Message-ID
<xmqqfvllxfie.fsf@gitster.dls.corp.google.com>
In-Reply-To
<xmqqk3axxfoh.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 11 quoted lines
> I actually think this "recording information about commits" is
> exactly the use-case notes were invented to address, and if it is
> found cumbersome to use, the reason why it is cumbersome needs to be
> discovered and use of notes needs to be improved.  Hooks and/or a
> wrapper around "git commit" to implement their custom workflow may
> be involved as part of the solution and "git notes" may need to
> learn a new trick or two along the way.
>
> I am not interested in hearing "let's add random crud to commit
> object header" before "let's improve notes so that it can be more
> smoothly used" is fully explored.

Oh, I forgot to say that I do not have anything against embedding the extra info as part of the free-form "log message" text part of the commit object like you have been suggesting. If the information can be cast in stone at the commit time, that would actually be preferrable, as you do not have to worry about transferring notes separately.

Previous: Junio C HamanoNext: Felipe Contreras
Message 5 of 8 in “Add support for commit attributes”
  1. Add support for commit attributesDiego Lago, Apr 9, 2014
  2. Duy NguyenApr 10, 2014
  3. Diego Lago GonzálezApr 10, 2014
  4. Junio C HamanoApr 10, 2014
  5. Junio C HamanoApr 10, 2014
  6. Felipe ContrerasApr 10, 2014
  7. Max HornApr 10, 2014
  8. Duy NguyenApr 10, 2014

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.