-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changelog: allow flexible "cherry picked" format.
It handles the following: (cherry picked from commit c0c7270 (testsuite changes only)) contrib/ChangeLog: * gcc-changelog/git_commit.py: Use regex for cherry pick prefix. * gcc-changelog/test_email.py: Test it. * gcc-changelog/test_patches.txt: Likewise.
- Loading branch information
Showing
3 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -355,6 +355,8 @@ def test_parse_git_name_status(self): | |
def test_backport(self): | ||
email = self.from_patch_glob('0001-asan-fix-RTX-emission.patch') | ||
assert not email.errors | ||
expected_hash = '8cff672cb9a132d3d3158c2edfc9a64b55292b80' | ||
assert email.cherry_pick_commit == expected_hash | ||
assert len(email.changelog_entries) == 1 | ||
entry = list(email.to_changelog_entries())[0][1] | ||
assert entry.startswith('2020-06-11 Martin Liska <[email protected]>') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3145,7 +3145,7 @@ gcc/ChangeLog: | |
by using Pmode instead of ptr_mode. | ||
|
||
Co-Authored-By: Jakub Jelinek <[email protected]> | ||
(cherry picked from commit 8cff672cb9a132d3d3158c2edfc9a64b55292b80) | ||
(cherry picked from commit 8cff672cb9a132d3d3158c2edfc9a64b55292b80 (only part)) | ||
--- | ||
gcc/asan.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|