diff --git a/sdk/tools/winesync/winesync.py b/sdk/tools/winesync/winesync.py index 8a238b4ac59ee..4599171d91f76 100644 --- a/sdk/tools/winesync/winesync.py +++ b/sdk/tools/winesync/winesync.py @@ -290,7 +290,7 @@ def revert_staged_patchset(self): with open(patch_path, 'rb') as patch_file: try: - subprocess.run(['git', '-C', self.reactos_src, 'apply', '-R', '--reject'], stdin=patch_file, check=True) + subprocess.run(['git', '-C', self.reactos_src, 'apply', '-R', '--ignore-whitespace', '--reject'], stdin=patch_file, check=True) except subprocess.CalledProcessError as err: print(f'Error while reverting patch {patch_file_name}') print('Please check, remove the offending patch with git rm, and relaunch this script')