]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Build: Use git log --pretty=medium when creating ChangeLog
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 30 Dec 2024 09:21:57 +0000 (11:21 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 30 Dec 2024 09:21:57 +0000 (11:21 +0200)
It's the default in git-log. Specifying it explicitly is good in case
a user has set format.pretty to a different value.

Makefile.am

index 56f3141d3c494104d55239deed0509ba5c5f49e5..8eba4e329bd20aa3a8429134cb4eb093864e9b0e 100644 (file)
@@ -71,11 +71,11 @@ manfiles = \
        src/scripts/xzless.1 \
        src/scripts/xzmore.1
 
-# Create ChangeLog from output of "git log --date=iso --stat".
+# Create ChangeLog using "git log".
 # Convert the man pages to plain text (ASCII only) format.
 dist-hook:
        if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \
-               ( cd "$(srcdir)" && git log --date=iso --stat \
+               ( cd "$(srcdir)" && git log --pretty=medium --date=iso --stat \
                        b69da6d4bb6bb11fc0cf066920791990d2b22a06^..HEAD ) \
                        > "$(distdir)/ChangeLog"; \
        fi