git --date=format: Not supported

Joel Sherrill joel at rtems.org
Tue Feb 12 22:41:23 UTC 2019


Hi

With Chris' commit to rtems-docs, I tried to build the docs again. But
something has changed and now the rtems-docs waf infrastructure depends on
a newer version of git than is available. Tracking down the failed command,
I ended up here:

[joel at localhost rtems-docs]$ git log -1 --format=%h,%cd
--date=format:"%e,%B,%Y"
fatal: unknown date format format:%e,%B,%Y
[joel at localhost rtems-docs]$ git --version
git version 1.8.3.1

This is the short intro to --date= in the man page shows:

       --date=(relative|local|default|iso|rfc|short|raw)
           Only takes effect for dates shown in human-readable format, such
as
           when using "--pretty".  log.date config variable sets a default
           value for log command’s --date option.

To support Centos 7, we will have to restrict what we use.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190212/965063ed/attachment.html>


More information about the devel mailing list