Use different format specifier to make older git versions happy

This commit is contained in:
Geert Janssens
2017-10-05 17:02:32 +02:00
parent 545b24fe97
commit 29b862adc2

View File

@@ -122,7 +122,7 @@ then
[ -n "$GIT_CMD" ] || GIT_CMD=git
if [ "$request" = "date" ]
then
exec "$GIT_CMD" --git-dir "${real_gitdir}" log -1 --format=%cd --date=format:"%Y-%m-%d"
exec "$GIT_CMD" --git-dir "${real_gitdir}" log -1 --format=%cd --date=short
exit 0
fi