build: ensure we use objc regexps for export-patches (#17598)
* build: ensure we use objc regexps for export-patches * build: also use objc for *.m Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com>
This commit is contained in:
parent
808783a5e4
commit
32c9597cbc
14 changed files with 30 additions and 22 deletions
2
script/.electron.attributes
Normal file
2
script/.electron.attributes
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.mm diff=objc
|
||||
*.m diff=objc
|
|
@ -24,6 +24,12 @@ def format_patch(repo, since):
|
|||
'git',
|
||||
'-C',
|
||||
repo,
|
||||
'-c',
|
||||
'core.attributesfile=' + os.path.join(os.path.dirname(os.path.realpath(__file__)), '.electron.attributes'),
|
||||
# Ensure it is not possible to match anything
|
||||
# Disabled for now as we have consistent chunk headers
|
||||
# '-c',
|
||||
# 'diff.electron.xfuncname=$^',
|
||||
'format-patch',
|
||||
'--keep-subject',
|
||||
'--no-stat',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue