Explorar el Código

build: Make git log invocation immune to local configuration

Some of the options that can be configured globally can leak local
repository information when generating the ChangeLog, such as the
--decorate=long option for example.
Guillem Jover hace 10 años
padre
commit
55d3a40e1b
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      Makefile.am
  2. 1 0
      debian/changelog

+ 1 - 0
Makefile.am

@@ -181,6 +181,7 @@ dist-hook:
 				exit 1 ; \
 				exit 1 ; \
 			fi ; \
 			fi ; \
 		done ; \
 		done ; \
+		XDG_CONFIG_HOME= HOME= \
 		git log -C --stat 1.15.0.. >$(distdir)/ChangeLog; \
 		git log -C --stat 1.15.0.. >$(distdir)/ChangeLog; \
 	fi
 	fi
 
 

+ 1 - 0
debian/changelog

@@ -76,6 +76,7 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - Split libps and libkvm detection into their own macros and variables.
     - Split libps and libkvm detection into their own macros and variables.
     - Make it possible to build without system libmd.
     - Make it possible to build without system libmd.
     - Add a configuration summary to configure output.
     - Add a configuration summary to configure output.
+    - Make git log invocation immune to local configuration.
   * Test suite:
   * Test suite:
     - Add a unit test to compile perl code with warnings.
     - Add a unit test to compile perl code with warnings.
     - Add a unit test for the trigger deferred parser.
     - Add a unit test for the trigger deferred parser.