fix git-info-2.sh: do not display pgp signature in log (if enabled by default)

This commit is contained in:
Maximilian Keßler 2022-10-16 12:37:30 +02:00
parent 708dfa3c09
commit 17d6e36711
Signed by: max
GPG Key ID: BCC5A619923C0BA5

View File

@ -11,7 +11,7 @@ FIRSTTAG=$(git describe --tags --always --dirty='-*' 2>/dev/null)
# Get the first tag in history that looks like a Release
RELTAG=$(git describe --tags --long --always --dirty='-*' --match '[0-9]*.*' 2>/dev/null)
# Hoover up the metadata
git --no-pager log -1 --date=short --decorate=short \
git -c log.showSignature=false --no-pager log -1 --date=short --decorate=short \
--pretty=format:"\usepackage[%
shash={%h},
lhash={%H},