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

why is tagger header optional?

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jan 19, 2010, 06:09 UTC
Message-ID
<20100119060946.GA23212@spearce.org>
So why is it legal to omit the tagger header from a tag?

E.g. the Linux kernel tag v2.6.12 has no tagger header: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tag;h=26791a8bcf0e6d33f43aef7682bdb555236d56de

JGit is currently failing on this tag, because its fsck implementation demands that a tag have a tagger header that can be parsed as a person identity.

Looking at tag.c's parse_tag_buffer(), the variable sig_line seems to be expected to point at the "tagger " header (given its name), but its not actually validated as such.

Is there a version of Git floating around that doesn't create a tagger header when creating a signed tag? WTF?

-- 
Shawn.
Next: Junio C Hamano
Message 1 of 6 in “why is tagger header optional?”
  1. Shawn O. PearceJan 19, 2010
  2. Junio C HamanoJan 19, 2010
  3. Shawn O. PearceJan 19, 2010
  4. Junio C HamanoJan 19, 2010
  5. Shawn O. PearceJan 19, 2010
  6. Jeff KingJan 19, 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.