summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/latexgit/latexgit.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-20 21:07:14 +0000
committerKarl Berry <karl@freefriends.org>2020-04-20 21:07:14 +0000
commitc01e3cc67bce910fad535c50c41da044fc23e882 (patch)
treed13fbc9bd655a58139ccb7d6acf3c2da154bb147 /Master/texmf-dist/tex/latex/latexgit/latexgit.sty
parent265f9ac6d3fc91d897651772036f22f7f8f094de (diff)
latexgit (20apr20)
git-svn-id: svn://tug.org/texlive/trunk@54811 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/latexgit/latexgit.sty')
-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'.