diff options
author | B. Watson <yalhcru@gmail.com> | 2019-04-14 16:47:48 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2019-04-14 16:47:48 -0400 |
commit | f51579a221cff247e864359fb4fb587de0dd9071 (patch) | |
tree | f0dd928f089284e92ffe0e8965f616f07cae47ae /src/gitrev | |
parent | 0d5965212dc9956dd7f08fbeea1cd6603c575837 (diff) | |
download | fujichat-f51579a221cff247e864359fb4fb587de0dd9071.tar.gz |
put date first in gitrev
Diffstat (limited to 'src/gitrev')
-rw-r--r-- | src/gitrev | 3 |
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 |