summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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