mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 09:17:44 -04:00
Ignore whitespace when working with patches.
This commit is contained in:
parent
8156f64d1c
commit
211bb4cbd9
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ except FileNotFoundError:
|
|||
sys.exit(0)
|
||||
for tmpfile in glob(os.path.join(PATCHES_DIR, "*.patch")):
|
||||
print("unpatch", tmpfile)
|
||||
result = subprocess.run(["git", "apply", "-R", tmpfile],
|
||||
result = subprocess.run(["git", "apply", "-R", "--ignore-whitespace", tmpfile],
|
||||
cwd=os.path.join("..", "..", ".."))
|
||||
if result.returncode:
|
||||
print("Unpatching failed: {}".format(tmpfile))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue