[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Typo in grep-2.13 ChangeLog file
From: |
Jim Meyering |
Subject: |
Re: Typo in grep-2.13 ChangeLog file |
Date: |
Thu, 05 Jul 2012 17:27:24 +0200 |
Johannes Meixner wrote:
> it seems I am misspelled in the grep-2.13 ChangeLog file as
> --------------------------------------------------------------------------
> Problem reported by Johannes Mercer in
> <http://lists.gnu.org/archive/html/bug-grep/2012-06/msg00029.html>.
> --------------------------------------------------------------------------
Hi Johannes,
Sorry about that.
We can't correct the error in our write-once git log,
but the patch below fixes it so the ChangeLog generated
for the next release will have the fix:
>From 24a289b18f63d29e313f6192f7e07ec67f6c595e Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 5 Jul 2012 17:24:29 +0200
Subject: [PATCH] maint: make log typo correction reflect in generated
ChangeLog
* Makefile.am (gen-ChangeLog): Use --amend, now that we must
make our first log correction.
* build-aux/git-log-fix: New file.
---
Makefile.am | 1 +
build-aux/git-log-fix | 7 +++++++
2 files changed, 8 insertions(+)
create mode 100644 build-aux/git-log-fix
diff --git a/Makefile.am b/Makefile.am
index 954d3ca..ba6c278 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,6 +47,7 @@ gen_start_date = 2009-11-27
gen-ChangeLog:
$(AM_V_GEN)if test -d .git; then \
$(top_srcdir)/build-aux/gitlog-to-changelog \
+ --amend=$(srcdir)/build-aux/git-log-fix \
--since=$(gen_start_date) > $(distdir)/cl-t; \
rm -f $(distdir)/ChangeLog; \
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
diff --git a/build-aux/git-log-fix b/build-aux/git-log-fix
new file mode 100644
index 0000000..b06803a
--- /dev/null
+++ b/build-aux/git-log-fix
@@ -0,0 +1,7 @@
+# This file is expected to be used via gitlog-to-changelog's --amend=FILE
+# option. It specifies what changes to make to each given SHA1's commit
+# log and metadata, using Perl-eval'able expressions.
+
+074842d3e3054714a495252e582886f0e4ace4e4
+# Correct spelling of name:
+s/Mercer/Meixner/
--
1.7.11.1.116.g8228a23