From 98aafffa575aca5e47e04b69c70a87d7c95a37df Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 21 Nov 2015 22:29:15 +0000 Subject: gitinfo2 (20nov15) git-svn-id: svn://tug.org/texlive/trunk@38913 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/gitinfo2/gitexinfo.sty | 4 ++-- Master/texmf-dist/tex/latex/gitinfo2/gitinfo2.sty | 14 ++++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/gitinfo2') diff --git a/Master/texmf-dist/tex/latex/gitinfo2/gitexinfo.sty b/Master/texmf-dist/tex/latex/gitinfo2/gitexinfo.sty index ed5b3c27fba..0f80141185d 100644 --- a/Master/texmf-dist/tex/latex/gitinfo2/gitexinfo.sty +++ b/Master/texmf-dist/tex/latex/gitinfo2/gitexinfo.sty @@ -15,10 +15,10 @@ % This work consists of these files: % gitinfo2.sty, gitexinfo.sty, gitinfo2.tex, gitinfo2.pdf, % gitinfo2test.tex, post-xxx-sample.txt, -% and gitPseudoHeadInfo.gin +% and gitHeadLocal.gin % ----------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{gitexinfo}[2015/11/14 v2.0.6 Auxiliary package for gitinfo2] +\ProvidesPackage{gitexinfo}[2015/11/22 v2.0.7 Auxiliary package for gitinfo2] \SetupKeyvalOptions{family=gitinfo,prefix=gitInf@} \DeclareStringOption{shash} \DeclareStringOption{lhash} diff --git a/Master/texmf-dist/tex/latex/gitinfo2/gitinfo2.sty b/Master/texmf-dist/tex/latex/gitinfo2/gitinfo2.sty index bfe37398131..29a94918ce1 100644 --- a/Master/texmf-dist/tex/latex/gitinfo2/gitinfo2.sty +++ b/Master/texmf-dist/tex/latex/gitinfo2/gitinfo2.sty @@ -1,5 +1,5 @@ % gitinfo2.sty -% Copyright 2014 Brent Longborough +% Copyright 2015 Brent Longborough % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -15,10 +15,10 @@ % This work consists of these files: % gitinfo2.sty, gitexinfo.sty, gitinfo2.tex, gitinfo2.pdf, % gitinfo2test.tex, post-xxx-sample.txt, -% and gitPseudoHeadInfo.gin +% and gitHeadLocal.gin % ----------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{gitinfo2}[2015/11/08 v2.0.5 git revision information] +\ProvidesPackage{gitinfo2}[2015/11/22 v2.0.7 git revision information] \RequirePackage{etoolbox} \RequirePackage{xstring} \RequirePackage{kvoptions} @@ -26,6 +26,7 @@ \SetupKeyvalOptions{family=gitinfo,prefix=gitInf@} \DeclareBoolOption{draft} \DeclareBoolOption{grumpy} +\DeclareBoolOption{local} \DeclareBoolOption{pcount} \DeclareBoolOption{footinfo} \DeclareBoolOption{mark} @@ -76,7 +77,12 @@ % private constants \providecommand{\GI@repo@prefix}{} -\providecommand{\GI@githeadinfo@file}{\GI@repo@prefix.git/gitHeadInfo.gin} +\ifbool{gitInf@local}{% + \providecommand{\GI@githeadinfo@file}{gitHeadLocal.gin} + \def\gitInf@maxdepth{0} +}{% + \providecommand{\GI@githeadinfo@file}{\GI@repo@prefix.git/gitHeadInfo.gin} +} \newcommand{\gitInf@dirtflag}{} \newcommand{\gitInf@describe}{} \newcommand{\gitInf@mcount}{} -- cgit v1.2.3