diff options
| author | Michael Biebl <biebl@debian.org> | 2024-12-25 20:36:35 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-12-25 20:36:35 +0100 |
| commit | fb6910b6176a81c9ee1f868017a6eba26c806cc2 (patch) | |
| tree | 80d4e9b53b4d1b5dd3b191048c17cd6ebaa70911 /contrib/scripts | |
| parent | ddbb315c36cfe7216f5a748f2e2a49ecf42d4d77 (diff) | |
| parent | e465722b908aa870bdc293b9a417d3c15294aa6d (diff) | |
Update upstream source from tag 'upstream/1.50.1'
Update to upstream version '1.50.1' with Debian dir 79e2d35ba659f65eb90078d6e46e316745aa2e42
Diffstat (limited to 'contrib/scripts')
| -rwxr-xr-x | contrib/scripts/find-backports | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/scripts/find-backports b/contrib/scripts/find-backports index c2082570..92116892 100755 --- a/contrib/scripts/find-backports +++ b/contrib/scripts/find-backports @@ -193,7 +193,9 @@ def git_ref_commit_body(ref): def git_ref_commit_body_get_fixes(ref): body = git_ref_commit_body(ref) result = [] - for mo in re.finditer(re_bin("\\b[fF]ixes: *([0-9a-z]+)\\b"), body): + for mo in re.finditer( + re_bin("^\\s*[fF]ixes: *([0-9a-z]+)\\b"), body, flags=re.MULTILINE + ): c = mo.group(1).decode("ascii") h = git_ref_exists(c) if h: @@ -202,7 +204,9 @@ def git_ref_commit_body_get_fixes(ref): # The commit that contains a "Fixes:" line, can also contain an "Ignore-Fixes:" line # to disable it. This only makes sense with refs/notes/bugs notes, to fix up a wrong # annotation. - for mo in re.finditer(re_bin("\\bIgnore-[fF]ixes: *([0-9a-z]+)\\b"), body): + for mo in re.finditer( + re_bin("^\\s*Ignore-[fF]ixes: *([0-9a-z]+)\\b"), body, flags=re.MULTILINE + ): c = mo.group(1).decode("ascii") h = git_ref_exists(c) try: |