summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/latexgit/latexgit.sty8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/latexgit/latexgit.sty b/Master/texmf-dist/tex/latex/latexgit/latexgit.sty
index f89079ab67e..d01af9bdb37 100644
--- a/Master/texmf-dist/tex/latex/latexgit/latexgit.sty
+++ b/Master/texmf-dist/tex/latex/latexgit/latexgit.sty
@@ -8,7 +8,7 @@
%% latexgit
%% Author: Camil Staps <info@camilstaps.nl>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{latexgit}[2020/03/18]
+\ProvidesPackage{latexgit}[2020/04/20]
\RequirePackage{pgfkeys}
\RequirePackage{datetime}
@@ -56,6 +56,10 @@
\endgroup%
\fi%
}
+\newcommand{\gitcommand}[2][]{%
+ \pgfkeys{/git,default,#1}%
+ \git@command{git #2}%
+ \git@result}
\catcode`\&=14\catcode`\%=11
\def\git@space{ }
\newcommand{\gitcommithash}[1][]{&
@@ -154,7 +158,7 @@
\fi&
}
\catcode`\&=4\catcode`\%=14
-%% Copyright (c) 2016 Camil Staps <info@camilstaps.nl>
+%% Copyright (c) 2016-2020 Camil Staps <info@camilstaps.nl>
%% Licensed under GPL v3.
%%
%% End of file `latexgit.sty'.