This is an automated email from Gerrit.

"R. Diez <rdiez-2...@rd10.de>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/8531

-- gerrit

commit 0a046e7aae116a4770471cbc360abc01ecec7926
Author: R. Diez <rdiezmail-open...@yahoo.de>
Date:   Thu Oct 31 23:51:08 2024 +0100

    Makefile.am: generate ChangeLog with git log instead of git2cl
    
    git log is faster than git2cl and the result has a better format.
    
    Change-Id: I465ca62e3e30fed230fe9661e82a987980c05459
    Signed-off-by: R. Diez <rdiezmail-open...@yahoo.de>

diff --git a/Makefile.am b/Makefile.am
index 2230e628f8..15d40379a8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -116,14 +116,10 @@ TCL_PATH = tcl
 TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' -o -name 
'*.txt' | \
                sed -e 's,^$(srcdir)/$(TCL_PATH),,'
 
-# Without the PERL_UNICODE="IO" workaround below when running git2cl, you get 
several
-# "Wide character" warnings and you also risk an invalid character encoding in
-# the generated ChangeLog file. For more information, see this bug report:
-#   Warning "Wide character in print"
-#   https://savannah.nongnu.org/bugs/?65689
 dist-hook:
        if test -d $(srcdir)/.git -a \( ! -e $(distdir)/ChangeLog -o -w 
$(distdir)/ChangeLog \) ; then \
-               git --git-dir $(srcdir)/.git log | PERL_UNICODE="IO" 
$(srcdir)/tools/git2cl/git2cl > $(distdir)/ChangeLog ; \
+               git --git-dir $(srcdir)/.git log --date=short 
--pretty="format:%ad  %aN <%aE>%n%n%w(0,4,6)* %s%n%+b" \
+               > $(distdir)/ChangeLog ; \
        fi
        for i in $$($(TCL_FILES)); do \
                j="$(distdir)/$(TCL_PATH)/$$i" && \

-- 

Reply via email to