detect-renamed.diff fixes and improvements

Matt McCutchen hashproduct+rsync at gmail.com
Fri Oct 12 16:46:46 GMT 2007


Wayne,

The detect-renamed.diff in the current CVS rsync appears to be very
badly broken.  I have fixed it and made some other improvements:

Crash fixes:
- Move misplaced the_fattr_list initialization hunk back to recv_file_list
- Send --detect-renamed to the sender so it knows to disable incremental
  recursion
- With --partial-dir=. , look_for_rename returns rather than crashing

Improvements:
- Make look_for_rename play nicer with --dry-run
- Print "found renamed: %s => %s" at -vv (rather than -vvv) level
- Improve man page explanation of --detect-renamed

My new detect-renamed.diff is attached for your consideration.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: detect-renamed.diff
Type: text/x-patch
Size: 21898 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20071012/ba449065/detect-renamed.bin


More information about the rsync mailing list