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

Re: [RFC] New commit object headers: note headers

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 10, 2008, 01:08 UTC
Message-ID
<alpine.LSU.1.00.0802100106330.11591@racer.site>
In-Reply-To
<200802100026.39340.jnareb@gmail.com>
Hi,
On Sun, 10 Feb 2008, Jakub Narebski wrote:
Show 5 quoted lines
> Still I think it is would be nice to have original commit id in a header 
> when importing from foreign SCM. First, it would not pollute commit 
> message, which would be identical with the original commit message 
> (which allows easy two-way interaction). Second, it is much easier and 
> much less error prone to extract it by machine.

I cannot agree to either reason. It is _not_ a git specific header, so it does not belong in the commit header.

Also, I find it does not clutter the commit message _at all_, but adds information that the user might find useful.

Lastly, I cannot see _any_ reason why it should be _easier_ or _less error prone_ to put an "original commit id" into the commit header than into the commit body.

Ciao, Dscho

Previous: Jakub NarebskiNext: Jakub Narebski
Message 6 of 7 in “[RFC] New commit object headers: generation and note headers”
  1. Jakub NarebskiFeb 9, 2008
  2. Daniel BarkalowFeb 9, 2008
  3. Nguyen Thai Ngoc DuyFeb 9, 2008
  4. Junio C HamanoFeb 9, 2008
  5. Jakub NarebskiFeb 9, 2008
  6. Johannes SchindelinFeb 10, 2008
  7. Jakub NarebskiFeb 11, 2008

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.