[master] 8d3c266 Use the complete commit hash in the version string
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Oct 31 10:43:05 UTC 2017
commit 8d3c266386c635b5de2943d85b0edc2e8df91095
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Tue Oct 31 11:40:39 2017 +0100
Use the complete commit hash in the version string
Fixes #2468
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 2f24b78..fa03724 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -1397,7 +1397,7 @@ fp_vclvar.close()
if os.path.isdir(os.path.join(srcroot, ".git")):
v = subprocess.check_output([
"git --git-dir=" + os.path.join(srcroot, ".git") +
- " show -s --pretty=format:%h"
+ " show -s --pretty=format:%H"
], shell=True, universal_newlines=True)
v = v.strip()
b = subprocess.check_output([
More information about the varnish-commit
mailing list