From 01c9113e2b43d9486b3edd25014eefbc24e7ed38 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Mon, 10 Aug 2020 07:10:15 -0700 Subject: [PATCH] build: fix path to git attributes for for patch export (#24896) --- script/{.electron.attributes => lib/electron.gitattributes} | 0 script/lib/git.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename script/{.electron.attributes => lib/electron.gitattributes} (100%) diff --git a/script/.electron.attributes b/script/lib/electron.gitattributes similarity index 100% rename from script/.electron.attributes rename to script/lib/electron.gitattributes diff --git a/script/lib/git.py b/script/lib/git.py index 3679612c19b..4d78513c2d8 100644 --- a/script/lib/git.py +++ b/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',