diff options
Diffstat (limited to 'version.sh')
-rwxr-xr-x | version.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,8 @@ version= datefmt='%Y%m%d' +export GIT_DIR=$(basename $0)/.git/ + if head=$(git rev-parse --short=8 --verify HEAD 2>/dev/null); then suffix='' |