summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gitinfo2/gitinfotest.tex
blob: 4cc0bcbac3f092a0d76a47a51d1c88f999eb7618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\documentclass[10pt,a4paper,article,showtrims]{memoir}
% =====================================================
% This is a tweak to allow this document to be formatted
% even when it doesn't live in an adequately configured
% git repository. Please do not try this at home.
% You have been warned.
% -----------------------------------------------------
\makeatletter
\newcommand{\GI@repo@prefix}{}
\newcommand{\GI@githeadinfo@file}{\GI@repo@prefix./gitPseudoHeadInfo.gin}
\makeatother
% -----------------------------------------------------
% End of tweak
% =====================================================
\usepackage[missing={(Oh my!)},dirty={Oh no!},markifdirty,marknotags]{gitinfo2}
\frenchspacing
\begin{document}

\ttfamily
!\gitMark! Mark

!\gitReferences ! References

!\gitVtag ! Vtag

!\gitVtags ! Vtags

!\gitVtagn ! Vtagn

!\gitRel ! Rel

!\gitRels ! Rels

!\gitReln ! Reln

!\gitFirstTagDescribe ! F.T.Describe

!\gitDescribe ! Describe

!\gitTags ! Tags

!\gitDirty ! Dirty

!\gitBranch ! Branch

!\gitRoff ! Roff

\end{document}