git log use of date format differs between Command Line and script usage.
- From
- Shaun Uldrikis <stuldrikis@gmail.com>
- Date
- Jun 30, 2017, 16:06 UTC
- Message-ID
- <CADHEqX_fiUhnpn6WAFrbDaNJTb1Vbom7Ndn-n6WmQ0gkQ69ZeA@mail.gmail.com>
If you supply a non-standard format to the date configuration for git
log, something like:
[log]
date = format:%Y-%m-%d %H:%Mthen, when you run 'git log' inside a script, or when using gitk (anywhere), it fails on decoding the format.
fatal: unknown date format format: %Y-%m-%d %H:%M
However, that format works correctly on the command line. I do not have a patch to address this issue.
-Shaun