From: Lasse Collin Date: Mon, 30 Dec 2024 09:21:57 +0000 (+0200) Subject: Build: Use git log --pretty=medium when creating ChangeLog X-Git-Tag: v5.6.4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8081fdbc5c2e06e0b2c23f27982cb1730eb7eb7;p=thirdparty%2Fxz.git Build: Use git log --pretty=medium when creating ChangeLog It's the default in git-log. Specifying it explicitly is good in case a user has set format.pretty to a different value. (cherry picked from commit ea21c76aa2406ba06ac154fe57741734c04f260f) --- diff --git a/Makefile.am b/Makefile.am index f6e73633..b037e397 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,11 +70,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