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

RE: Recording the current branch on each commit?

From
Max Kirillov <max@max630.net>
Date
Apr 28, 2014, 06:36 UTC
Message-ID
<20140427233635.96eec638b311907e2368f42b42021fd8.fa0e4193ea.wbe@email02.secureserver.net>
Hi.
> Obviously, the feature would necessarily have to be optional, simply
> because Git would have to keep understanding the old commit object
> format for a LONG time (probably indefinitely), and there's nothing
> you can do to prevent others from creating old-style commit objects.

Doesn't git ignores unknown headers? I has been investigating this issue and it looked like it does.

Could the API to add commit headers (which exists in sources) be added to cli, so users can create the branches, phases or whatever they feel useful?

-- 
Max
Next: Junio C Hamano
Message 1 of 3 in “RE: Recording the current branch on each commit?”
  1. Max KirillovApr 28, 2014
  2. Junio C HamanoApr 28, 2014
  3. Max KirillovApr 30, 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.