diff options
Diffstat (limited to 'src')
-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 |