[Reproducible-commits] [dpkg] 32/105: build: Make git log invocation immune to local configuration

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit 55d3a40e1b4113bb61558bc6106912910abe16f8
Author: Guillem Jover <guillem at debian.org>
Date:   Sun Mar 20 23:19:13 2016 +0100

    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.
---
 Makefile.am      | 1 +
 debian/changelog | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index e0605b3..4ccc3ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -181,6 +181,7 @@ dist-hook:
 				exit 1 ; \
 			fi ; \
 		done ; \
+		XDG_CONFIG_HOME= HOME= \
 		git log -C --stat 1.15.0.. >$(distdir)/ChangeLog; \
 	fi
 
diff --git a/debian/changelog b/debian/changelog
index b774347..d9b37c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -76,6 +76,7 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - Split libps and libkvm detection into their own macros and variables.
     - Make it possible to build without system libmd.
     - Add a configuration summary to configure output.
+    - Make git log invocation immune to local configuration.
   * Test suite:
     - Add a unit test to compile perl code with warnings.
     - Add a unit test for the trigger deferred parser.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list