diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/gitinfo2/post-xxx-sample.txt')
-rw-r--r-- | Master/texmf-dist/doc/latex/gitinfo2/post-xxx-sample.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/gitinfo2/post-xxx-sample.txt b/Master/texmf-dist/doc/latex/gitinfo2/post-xxx-sample.txt index 76e6a263454..df0730af47b 100644 --- a/Master/texmf-dist/doc/latex/gitinfo2/post-xxx-sample.txt +++ b/Master/texmf-dist/doc/latex/gitinfo2/post-xxx-sample.txt @@ -6,11 +6,11 @@ # Post-{commit,checkout,merge} hook for the gitinfo2 package # # Get the first tag found in the history from the current HEAD -FIRSTTAG=$(git describe --tags --dirty='-*' 2>/dev/null) +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 --dirty='-*' --match '[0-9]*.*' 2>/dev/null) +RELTAG=$(git describe --tags --long --always --dirty='-*' --match '[0-9]*.*' 2>/dev/null) # Hoover up the metadata -git --no-pager log -1 --date=short \ +git --no-pager log -1 --date=short --decorate=short \ --pretty=format:"\usepackage[% shash={%h}, lhash={%H}, |