diff --git a/git-p4.py b/git-p4.py index 8fbf6eb1fe..0a9d7e2ed7 100755 --- a/git-p4.py +++ b/git-p4.py @@ -3148,7 +3148,7 @@ class P4Sync(Command, P4UserMap): raise e else: if p4_version_string().find('/NT') >= 0: - text = text.replace(b'\r\n', b'\n') + text = text.replace(b'\x0d\x00\x0a\x00', b'\x0a\x00') contents = [text] if type_base == "apple":