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

Re: extra headers in commit objects

From
Mike Hommey <mh@glandium.org>
Date
Feb 4, 2010, 06:24 UTC
Message-ID
<20100204062449.GC6097@glandium.org>
In-Reply-To
<20100203224835.GK14799@spearce.org>
On Wed, Feb 03, 2010 at 02:48:35PM -0800, Shawn O. Pearce wrote:
Show 12 quoted lines
> > Anyhow, I was saying that _technically_ you can artificially write
> > extra headers into the commit object (though at the time Dulwich
> > didn't support reading them because of how it parsed commit objects -
> > I believe it would actually explode if it saw something it didn't
> > expect).  I said I was still going to keep the metadata in my
> > implementation in the message, but he was very interested in hiding
> > his in the commit headers.
> 
> Yea, everyone wants to hide that extra metadata.  I never get why.
> Even in SVN.  Why wouldn't I want to see the bug(s) fixed by
> a commit?  Difference of opinion.  I also happen to prefer the
> color blue.  Dammit, everyone should prefer blue.

Note, though, that such information may change in the future, in which case you can't rewrite the commit to fit that. But for all that, there are git-notes, now, aren't there ?

Mike
Previous: Shawn O. PearceNext: Jelmer Vernooij
Message 17 of 20 in “extra headers in commit objects”
  1. Shawn O. PearceFeb 3, 2010
  2. Nicolas PitreFeb 3, 2010
  3. demerphqFeb 3, 2010
  4. Shawn O. PearceFeb 3, 2010
  5. demerphqFeb 3, 2010
  6. Junio C HamanoFeb 3, 2010
  7. Shawn O. PearceFeb 3, 2010
  8. Junio C HamanoFeb 4, 2010
  9. A Large Angry SCMFeb 4, 2010
  10. Petr BaudisFeb 3, 2010
  11. demerphqFeb 3, 2010
  12. Shawn O. PearceFeb 3, 2010
  13. Nicolas PitreFeb 3, 2010
  14. Sverre RabbelierFeb 3, 2010
  15. Scott ChaconFeb 3, 2010
  16. Shawn O. PearceFeb 3, 2010
  17. Mike HommeyFeb 4, 2010
  18. Jelmer VernooijFeb 3, 2010
  19. Nicolas PitreFeb 3, 2010
  20. Shawn O. PearceFeb 3, 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.