gcc-changelog: Add libstdc++-v3/testsuite to wildcard prefixes
authorJonathan Wakely <jwakely@redhat.com>
Mon, 30 Nov 2020 11:41:03 +0000 (11:41 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 30 Nov 2020 11:41:03 +0000 (11:41 +0000)
This allows using "testsuite/*" in libstdc++-v3/ChangeLog entries, which
was one of the original motivations for adding wildcard support in the
first place:
https://gcc.gnu.org/pipermail/gcc/2020-June/232719.html

contrib/ChangeLog:

* gcc-changelog/git_commit.py (wildcard_prefixes): Add libstdc++
testsuite directory.

contrib/gcc-changelog/git_commit.py

index 5366d95469c88f8f433c6d4fa2378d1b489a07bf..6487de3271d55afeedf82a0e546be5e4261347b6 100755 (executable)
@@ -138,7 +138,8 @@ ignored_prefixes = {
 
 wildcard_prefixes = {
     'gcc/testsuite/',
-    'libstdc++-v3/doc/html/'
+    'libstdc++-v3/doc/html/',
+    'libstdc++-v3/testsuite/'
     }
 
 misc_files = {