Skip to content

Commit e9d0a94

Browse files
authored
fix: Handle Windows line endings in rclone bisync (#422)
Signed-off-by: phernandez <[email protected]>
1 parent caf3c14 commit e9d0a94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/basic_memory/cli/commands/cloud/rclone_commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def project_bisync(
166166
Uses rclone bisync with balanced defaults:
167167
- conflict_resolve: newer (auto-resolve to most recent)
168168
- max_delete: 25 (safety limit)
169+
- compare: modtime (ignore size differences from line ending conversions)
169170
- check_access: false (skip for performance)
170171
171172
Args:
@@ -201,6 +202,7 @@ def project_bisync(
201202
"--resilient",
202203
"--conflict-resolve=newer",
203204
"--max-delete=25",
205+
"--compare=modtime", # Ignore size differences from line ending conversions
204206
"--filter-from",
205207
str(filter_path),
206208
"--workdir",

0 commit comments

Comments
 (0)