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

Bug report - git show <tagname> together with --pretty=format

From
CCornelius <c.r1@gmx.de>
Date
Apr 8, 2009, 12:56 UTC
Message-ID
<49DC9F07.4090105@gmx.de>
Hi,
I've a problem with git 1.6.2.2 (self compiled) and git show. I use it's 
output for parsing the git data, so this is more than a minor issue for 
me. When you normally do a git show on a tag name it's output resembles 
the following:
tag <tagname>
Tagger: Cornelius <c.r1@gmx.de>
Date:   Wed Apr 8 14:39:17 2009 +0200

tagmessage commit 77e312e0527f87604e4c70ebf6040e79bb55d2ed <snip>

Now when you do a git show <tagname> --pretty=format:"ENDOFGITTAGOUTPUTMESAGEHERE%n%H" -- the Date: line is missing. Git 1.6.0.5 (which is avaible in my distro's repos) doesn't have this issue. Please CC me, I'm not subcribed here. Cornelius

Next: Michael J Gruber
Message 1 of 4 in “Bug report - git show <tagname> together with --pretty=format”
  1. CorneliusApr 8, 2009
  2. Michael J GruberApr 8, 2009
  3. Santi BéjarApr 8, 2009
  4. Plumbing commands (was: Bug report - git show <tagname> together with --pretty=format)Teemu Likonen, Apr 8, 2009

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.