From: René Scharfe Date: Fri, 30 Jun 2017 16:41:56 GMT Subject: Re: git log use of date format differs between Command Line and script usage. Message-ID: <7e7c7d22-36e2-20f4-0cfc-8cfe37d9a409@web.de> In-Reply-To: Am 30.06.2017 um 18:06 schrieb Shaun Uldrikis: > If you supply a non-standard format to the date configuration for git > log, something like: > [log] > date = format:%Y-%m-%d %H:%M > > then, 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. I guess you have two versions of git on your system, and the one used in scripts is older than 2.6.0, which introduced this feature. René