diff options
author | David A. Madore <david+git@madore.org> | 2010-10-21 18:54:40 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2010-10-21 18:54:40 +0200 |
commit | cb0f6b140963fd2969dcacd875bff5bc03dfc734 (patch) | |
tree | d3f3a3f2696e2d1fa3e0cf76a36d7dda57f9ee52 | |
parent | 90e6f0df6b5a3d33b3fd75878dd6328590b71f5c (diff) | |
download | infmdi720-cb0f6b140963fd2969dcacd875bff5bc03dfc734.tar.gz infmdi720-cb0f6b140963fd2969dcacd875bff5bc03dfc734.tar.bz2 infmdi720-cb0f6b140963fd2969dcacd875bff5bc03dfc734.zip |
Version control hook for git.
-rw-r--r-- | rappels-maths.tex | 4 | ||||
-rw-r--r-- | vc | 2 |
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 @@ -0,0 +1,2 @@ +#! /bin/sh +git log --pretty=format:'\verb=%h %ad=' -1 |