|
@@ -3025,6 +3025,9 @@ def checkout(
|
|
|
with open(target, mode) as f:
|
|
|
f.write(source)
|
|
|
|
|
|
+ # Get blob normalizer for line ending conversion
|
|
|
+ blob_normalizer = r.get_blob_normalizer()
|
|
|
+
|
|
|
# Update working tree
|
|
|
update_working_tree(
|
|
|
r,
|
|
@@ -3034,6 +3037,7 @@ def checkout(
|
|
|
validate_path_element=validate_path_element,
|
|
|
symlink_fn=symlink_fn,
|
|
|
force_remove_untracked=force,
|
|
|
+ blob_normalizer=blob_normalizer,
|
|
|
)
|
|
|
|
|
|
# Update HEAD
|