mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
build: use --keep-non-patch flag with git am (#48797)
This commit is contained in:
@@ -52,7 +52,8 @@ def get_repo_root(path):
|
|||||||
|
|
||||||
def am(repo, patch_data, threeway=False, directory=None, exclude=None,
|
def am(repo, patch_data, threeway=False, directory=None, exclude=None,
|
||||||
committer_name=None, committer_email=None, keep_cr=True):
|
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:
|
if threeway:
|
||||||
args += ['--3way']
|
args += ['--3way']
|
||||||
if directory is not None:
|
if directory is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user