Skip to content

Commit 97a9330

Browse files
committed
Fix apply patch to work on Windows
1 parent 0ff651e commit 97a9330

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Dawn/dawn_source.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,13 @@ def fetch_dawn_source(hash: str) -> None:
159159
print("Applying patch to Dawn source...")
160160
try:
161161
subprocess.run(
162-
["git", "apply", "../dawn_source.patch"],
162+
[
163+
"git",
164+
"apply",
165+
"--ignore-space-change",
166+
"--ignore-whitespace",
167+
"../dawn_source.patch",
168+
],
163169
cwd=str(get_dawn_path()),
164170
check=True,
165171
capture_output=True,

0 commit comments

Comments
 (0)