Skip to content

Commit

Permalink
Build: Use git log --pretty=medium when creating ChangeLog
Browse files Browse the repository at this point in the history
It's the default in git-log. Specifying it explicitly is good in case
a user has set format.pretty to a different value.
  • Loading branch information
Larhzu committed Dec 30, 2024
1 parent 08050c0 commit ea21c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea21c76

Please sign in to comment.