summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2010-10-21 16:54:40 (GMT)
committerDavid A. Madore <david+git@madore.org>2010-10-21 16:54:40 (GMT)
commitcb0f6b140963fd2969dcacd875bff5bc03dfc734 (patch)
treed3f3a3f2696e2d1fa3e0cf76a36d7dda57f9ee52
parent90e6f0df6b5a3d33b3fd75878dd6328590b71f5c (diff)
downloadinfmdi720-cb0f6b140963fd2969dcacd875bff5bc03dfc734.zip
infmdi720-cb0f6b140963fd2969dcacd875bff5bc03dfc734.tar.gz
infmdi720-cb0f6b140963fd2969dcacd875bff5bc03dfc734.tar.bz2
Version control hook for git.
-rw-r--r--rappels-maths.tex4
-rw-r--r--vc2
2 files changed, 5 insertions, 1 deletions
diff --git a/rappels-maths.tex b/rappels-maths.tex
index 8325f80..7d05c81 100644
--- a/rappels-maths.tex
+++ b/rappels-maths.tex
@@ -41,9 +41,11 @@
\author{David A. Madore}
\maketitle
{\footnotesize
+\immediate\write18{sh ./vc > vcline.tex}
\begin{center}
-CVS: \verb=$Id: rappels-maths.tex,v 1.17 2009-10-21 18:30:30 david Exp $=
+Git: \input{vcline.tex}
\end{center}
+\immediate\write18{echo ' (stale)' >> vcline.tex}
\par}
\pretolerance=10000
\tolerance=8000
diff --git a/vc b/vc
new file mode 100644
index 0000000..2ab3e90
--- /dev/null
+++ b/vc
@@ -0,0 +1,2 @@
+#! /bin/sh
+git log --pretty=format:'\verb=%h %ad=' -1