From f51579a221cff247e864359fb4fb587de0dd9071 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 14 Apr 2019 16:47:48 -0400 Subject: put date first in gitrev --- src/gitrev | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/gitrev (limited to 'src/gitrev') 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 -- cgit v1.2.3