git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug in git-show with "%ai" and "%ci" formats?
@ 2007-10-29 13:18 Wincent Colaiuta
  2007-10-29 13:32 ` Johannes Schindelin
  0 siblings, 1 reply; 3+ messages in thread
From: Wincent Colaiuta @ 2007-10-29 13:18 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug in git-show with "%ai" and "%ci" formats?
  2007-10-29 13:18 Bug in git-show with "%ai" and "%ci" formats? Wincent Colaiuta
@ 2007-10-29 13:32 ` Johannes Schindelin
  2007-10-29 14:28   ` Wincent Colaiuta
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Schindelin @ 2007-10-29 13:32 UTC (permalink / raw)
  To: Wincent Colaiuta; +Cc: Git Mailing List

Hi,

On Mon, 29 Oct 2007, Wincent Colaiuta wrote:

> 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:

It was added in v1.5.3-rc2~17.

Usually, it is a good idea to use the documentation which corresponds with 
the git version you are using ;-)

Hth,
Dscho

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug in git-show with "%ai" and "%ci" formats?
  2007-10-29 13:32 ` Johannes Schindelin
@ 2007-10-29 14:28   ` Wincent Colaiuta
  0 siblings, 0 replies; 3+ messages in thread
From: Wincent Colaiuta @ 2007-10-29 14:28 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Git Mailing List

El 29/10/2007, a las 14:32, Johannes Schindelin escribió:

> On Mon, 29 Oct 2007, Wincent Colaiuta wrote:
>
>> 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:
>
> It was added in v1.5.3-rc2~17.
>
> Usually, it is a good idea to use the documentation which  
> corresponds with
> the git version you are using ;-)

Doh... funny... This was only yesterday; I installed 1.5.2.4  
(stupidly, a typo) and the 1.5.3.4 man pages. If I'd just done a "git  
stash" or something I would've realized that I was using an older  
version...

Cheers,
Wincent

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-29 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 13:18 Bug in git-show with "%ai" and "%ci" formats? Wincent Colaiuta
2007-10-29 13:32 ` Johannes Schindelin
2007-10-29 14:28   ` Wincent Colaiuta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).