git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG REPORT] Git log pretty date
@ 2014-05-29 10:29 Rodrigo Fernandes
  2014-05-29 10:50 ` Duy Nguyen
  2014-05-29 11:07 ` Dennis Kaarsemaker
  0 siblings, 2 replies; 13+ messages in thread
From: Rodrigo Fernandes @ 2014-05-29 10:29 UTC (permalink / raw)
  To: git

Hi,

I'm having some problems with the `git log` command.

Setup:
Happens in multiple versions, tested on 1.8.* and 2.*

The problem happens when I try to get a pretty log for a commit with a
wrong date.

Executing the command:
`git log --encoding=UTF-8 --date=raw --pretty=format:'%H,%P,%ad,%cd,%an,%s'`

I get an empty response on the date field, but since pretty has `%ad`
it should follow the --date and return the date even if wrong.

The problem happens in this repo:
`https://github.com/SamWM/jQuery-Plugins` on commit
`e9dddaf24c9de45d9b4efdf38eff7c30eb200f48`.

I posted it on SO too:
`http://stackoverflow.com/questions/23793188/find-date-for-not-dated-commit`

I think it is a bug probably on pretty since other raw formats show
the date as it should.

I tried to check the source code but have no idea where to start,
maybe if you point me on some direction I can take a look for my self.

Can you help?

Kind regards,
Rodrigo Fernandes

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

end of thread, other threads:[~2014-06-03  6:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29 10:29 [BUG REPORT] Git log pretty date Rodrigo Fernandes
2014-05-29 10:50 ` Duy Nguyen
2014-05-29 16:16   ` Jeff King
2014-05-29 18:57     ` Junio C Hamano
2014-05-29 19:49       ` Jeff King
2014-05-29 19:57         ` Rodrigo Fernandes
2014-05-30  8:08           ` Rodrigo Fernandes
2014-06-03  3:46             ` Jeff King
2014-06-03  6:23               ` Dennis Kaarsemaker
2014-06-03  6:45                 ` Jeff King
2014-05-29 11:07 ` Dennis Kaarsemaker
2014-05-29 12:24   ` Rodrigo Fernandes
2014-05-29 12:52     ` Duy Nguyen

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).