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

Bug in git-show with "%ai" and "%ci" formats?

From
Wincent Colaiuta <win@wincent.com>
Date
Oct 29, 2007, 13:18 UTC
Message-ID
<4A647262-B69A-4DB6-942C-18C45458B169@wincent.com>

Can anybody reproduce the following behaviour? Basically all the author and committer date formats documented in the git-show man page work except for "%ai" and "%ci". This is with Git 1.5.2.4 running on Darwin 9.0.0:

$ git show -s --pretty=format:"%ad" Sun Oct 28 20:58:39 2007 +0100 $ git show -s --pretty=format:"%aD" Sun, 28 Oct 2007 20:58:39 +0100 $ git show -s --pretty=format:"%ar" 17 hours ago $ git show -s --pretty=format:"%at" 1193601519 $ git show -s --pretty=format:"%ai" %ai $ git show -s --pretty=format:"%cd" Sun Oct 28 20:58:39 2007 +0100 $ git show -s --pretty=format:"%cD" Sun, 28 Oct 2007 20:58:39 +0100 $ git show -s --pretty=format:"%cr" 17 hours ago $ git show -s --pretty=format:"%ct" 1193601519 $ git show -s --pretty=format:"%ci" %ci

Cheers, Wincent

Next: Johannes Schindelin
Message 1 of 3 in “Bug in git-show with "%ai" and "%ci" formats?”
  1. Wincent ColaiutaOct 29, 2007
  2. Johannes SchindelinOct 29, 2007
  3. Wincent ColaiutaOct 29, 2007

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.