]> Savannah Git Hosting - gnulib.git/commit
gitlog-to-changelog: provide a ChangeLog-repair mechanism
authorJim Meyering <meyering@redhat.com>
Tue, 1 Nov 2011 17:04:21 +0000 (18:04 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 2 Nov 2011 07:53:35 +0000 (08:53 +0100)
commit57789615cb81dba6075ef76d3faddaa10dc61a07
tree4f9343a81c7708881bdea348f50b2e8760246473
parent9bb41f2a4e890e3a93991d2ae26581e334d274f3
gitlog-to-changelog: provide a ChangeLog-repair mechanism

Git logs are often treated as immutable, because editing them
changes the SHA1 checksums of all descendants.  Thus, errors in
git logs tend to stay there forever.  However, when we generate
a ChangeLog file -- typically for distribution -- from that git log,
we can actually make corrections in the generated file.  The key
lies in recording in machine-readable/applicable form the desired
corrections.  See --help for description and an example.
* build-aux/gitlog-to-changelog (parse_amend_file): New function.
(usage): Describe it; alphabetize option descriptions.
(main): Honor the new option, carefully.
ChangeLog
build-aux/gitlog-to-changelog