Re: [BUG REPORT] Git log pretty date
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- May 29, 2014, 10:50 UTC
- Message-ID
- <CACsJy8BREpVFKq3mW=Lwn+uNm1r40Xe8f4EyXLFN2yybZRT0oA@mail.gmail.com>
- In-Reply-To
- <CACJZPBtv-Cpb8_WZMz9Hsk9MrC86YGfbvREt6G=QKvMBjrqsEg@mail.gmail.com>
On Thu, May 29, 2014 at 5:29 PM, Rodrigo Fernandes <rtfrodrigo@gmail.com> wrote:
Show 7 quoted lines
> 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. > > ... > > 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.
pretty.c, format_commit_one() -> format_person_part() -> show_ident_date() -> show_date(). The last one is in date.c
-- Duy