Block a user
Incremental sync: --incremental to skip unchanged files
Re-review after commit
Re-review after commit bd0c986
Finding #6 resolved ✅
file_send_single_callsnow takesbool send_path— skipssend_str(file->path)when falsefile_send_sendfilenow takes…
Incremental sync: --incremental to skip unchanged files
Re-review after commit
Re-review after commit 2979f43
Addressed
- Finding #1 —
receive_chunk_data()extracted tochunk.c. Bothserver.candmultiprocessing.cnow call it instead of duplicating…
Incremental sync: --incremental to skip unchanged files
Correction to finding #7
I was wrong — PR #19 (refactor/merge-path-variants) was not actually merged to main. The commit only exists on the feature branch.
So the _no_path variants…
Incremental sync: --incremental to skip unchanged files
7. Branch needs rebase onto main
This branch still contains file_send_sendfile_no_path and file_send_single_calls_no_path as separate functions. PR #19 (already merged to main) consolidate…
Incremental sync: --incremental to skip unchanged files
6.
6. file_send_single_calls / file_send_sendfile + _no_path variants — PR #19 already fixed this
This branch still has 4 separate functions:
- `file_send_single_calls(file, fd,…
Incremental sync: --incremental to skip unchanged files
1.
Remaining Duplication Scan
Found 4 duplicated patterns still in the branch:
1. receive_chunk (server.c) vs receive_chunk_enqueue (multiprocessing.c) — ~25 lines
Both do…
Incremental sync: --incremental to skip unchanged files
Re-review after commit
Re-review after commit 38b59ad
Verdict: PASS — Clean deduplication refactor
New changes
Shared helpers extracted to file.c:
- `receive_incremental_check(fd, config,…
test: add --full flag for lightweight default mode
refactor: merge sendfile and single_calls _no_path variants with send_path bool
refactor: merge sendfile and single_calls _no_path variants with send_path bool
PR Review
Verdict: PASS — Clean refactor, reduces code duplication
Files reviewed: 16 (includes incremental-sync changes + path variant merge)
Core Refactor
Merges…
refactor: merge sendfile and single_calls _no_path variants with send_path bool