summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2016-01-29 13:54:47 +0100
committerDavid A. Madore <david+git@madore.org>2016-01-29 13:54:47 +0100
commit67737a3b5277d19f263d8e1cf3b417886fbc66a0 (patch)
treedc7798c98930e970a9fd6c8bf4685719e38a42ee
parent76ce4cd54506fa79da0b283f2682eb77f55da051 (diff)
downloadmitro206-67737a3b5277d19f263d8e1cf3b417886fbc66a0.tar.gz
mitro206-67737a3b5277d19f263d8e1cf3b417886fbc66a0.tar.bz2
mitro206-67737a3b5277d19f263d8e1cf3b417886fbc66a0.zip
Add version control line.
-rw-r--r--notes-mitro206.tex9
-rwxr-xr-xvc2
2 files changed, 11 insertions, 0 deletions
diff --git a/notes-mitro206.tex b/notes-mitro206.tex
index 41b3176..d7d7d56 100644
--- a/notes-mitro206.tex
+++ b/notes-mitro206.tex
@@ -59,6 +59,15 @@
\centerline{\textbf{MITRO206}}
+{\footnotesize
+\immediate\write18{sh ./vc > vcline.tex}
+\begin{center}
+Git: \input{vcline.tex}
+\end{center}
+\immediate\write18{echo ' (stale)' >> vcline.tex}
+\par}
+
+
%
%
diff --git a/vc b/vc
new file mode 100755
index 0000000..2ab3e90
--- /dev/null
+++ b/vc
@@ -0,0 +1,2 @@
+#! /bin/sh
+git log --pretty=format:'\verb=%h %ad=' -1