[master] bbb1d1a just grab the commit hash for the revision	information
    Tollef Fog Heen 
    tfheen at varnish-cache.org
       
    Mon Jun  6 14:01:08 CEST 2011
    
    
  
commit bbb1d1a34700c0b6bc26746c98bca6250147585d
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Tue May 31 10:16:07 2011 +0200
    just grab the commit hash for the revision information
diff --git a/lib/libvarnish/Makefile.am b/lib/libvarnish/Makefile.am
index 68d0ac3..a5ebc5c 100644
--- a/lib/libvarnish/Makefile.am
+++ b/lib/libvarnish/Makefile.am
@@ -37,7 +37,7 @@ BUILT_SOURCES = vcs_version.h
 MAINTAINERCLEANFILES = vcs_version.h
 vcs_version.h: FORCE
 	if [ -d "$(top_srcdir)/.git" ]; then \
-		V="$$(git describe --always)" \
+		V="$$(git show -s --pretty=format:%h)" \
 		H="$$(head -n 1 vcs_version.h 2>/dev/null || true)"; \
 		if [ "/* $$V */" != "$$H" ]; then \
 		( \
    
    
More information about the varnish-commit
mailing list