aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-04-14 16:47:48 -0400
committerB. Watson <yalhcru@gmail.com>2019-04-14 16:47:48 -0400
commitf51579a221cff247e864359fb4fb587de0dd9071 (patch)
treef0dd928f089284e92ffe0e8965f616f07cae47ae
parent0d5965212dc9956dd7f08fbeea1cd6603c575837 (diff)
downloadfujichat-f51579a221cff247e864359fb4fb587de0dd9071.tar.gz
put date first in 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