aboutsummaryrefslogtreecommitdiff
path: root/src/gitrev
diff options
context:
space:
mode:
Diffstat (limited to 'src/gitrev')
-rw-r--r--src/gitrev3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gitrev b/src/gitrev
new file mode 100644
index 0000000..9d20a88
--- /dev/null
+++ b/src/gitrev
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+git log --date=format:%Y%m%d --format=%cd-%h 2>/dev/null |head -n 1