Browse Source

build: fix path to git attributes for for patch export (#24896)

Samuel Attard 4 years ago
parent
commit
01c9113e2b
2 changed files with 1 additions and 1 deletions
  1. 0 0
      script/lib/electron.gitattributes
  2. 1 1
      script/lib/git.py

+ 0 - 0
script/.electron.attributes → script/lib/electron.gitattributes


+ 1 - 1
script/lib/git.py

@@ -190,7 +190,7 @@ def format_patch(repo, since):
     '-C',
     repo,
     '-c',
-    'core.attributesfile=' + os.path.join(os.path.dirname(os.path.realpath(__file__)), '.electron.attributes'),
+    'core.attributesfile=' + os.path.join(os.path.dirname(os.path.realpath(__file__)), 'electron.gitattributes'),
     # Ensure it is not possible to match anything
     # Disabled for now as we have consistent chunk headers
     # '-c',