build: use --keep-non-patch flag with git am (#48808)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
This commit is contained in:
parent
81332eaf65
commit
6972fbfea3
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ def get_repo_root(path):
|
|||
|
||||
def am(repo, patch_data, threeway=False, directory=None, exclude=None,
|
||||
committer_name=None, committer_email=None, keep_cr=True):
|
||||
args = []
|
||||
# --keep-non-patch prevents stripping leading bracketed strings on the subject line
|
||||
args = ['--keep-non-patch']
|
||||
if threeway:
|
||||
args += ['--3way']
|
||||
if directory is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue