gcc-changelog: handle entries with multi-line file lists
authorPierre-Marie de Rodat <derodat@adacore.com>
Tue, 26 May 2020 14:22:16 +0000 (16:22 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 26 May 2020 15:45:58 +0000 (17:45 +0200)
commit519f2506456ffcf79782f7be21a8463d1776b16c
tree90436a9eadd8be6fecdba9fcc732376da01e7347
parentbb07057a316f7f8c3daa1a4dd67fd3c5d9d450c7
gcc-changelog: handle entries with multi-line file lists

This extends the ChangeLog entries parsing machinery to handle entries
that cover multiple files spanning over multiple lines. For instance:

    * first_file_patched.c, second_file_patched.c, third_file_patched.c,
    fourth_file_patched.c: Do things.

contrib/

* gcc-changelog/git_commit.py (ChangeLogEntry): Handle entries
with multi-line file lists.
* gcc-changelog/test_email.py: New testcase.
* gcc-changelog/test_patches.txt: Likewise.
contrib/gcc-changelog/git_commit.py
contrib/gcc-changelog/test_email.py
contrib/gcc-changelog/test_patches.txt