Skip to content

Commit

Permalink
For --inplace over protocol-version 29 or greater, tell the
Browse files Browse the repository at this point in the history
sender what kind of a basis file we've selected.
  • Loading branch information
Wayne Davison committed Jan 17, 2005
1 parent 9b919d5 commit 17b5b32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generator.c
Original file line number Diff line number Diff line change
@@ -596,6 +596,8 @@ static void recv_generator(char *fname, struct file_struct *file, int i,

notify_others:
write_int(f_out, i);
if (protocol_version >= 29 && inplace && !read_batch)
write_byte(f_out, fnamecmp_type);
if (f_out_name >= 0)
write_byte(f_out_name, fnamecmp_type);

0 comments on commit 17b5b32

Please sign in to comment.