- 14 Feb, 2005 15 commits
-
-
Wayne Davison authored
because that's the maximum size we can transmit over the wire.
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
chosen, the name is sent down the name-pipe to the receiver.
-
Wayne Davison authored
- Added get_dirlist(), which returns a file_list structure for the desired directory, optionally with local filter rules disabled.
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
equal value without being equal pointers, substitute one of the pointers for the other in the file list. This optimizes future name comparisons. Note also that this optimization won't be triggered very often (because rsync tends to send the names grouped by dir- name at transmission time), but it's nice to be able to assume that all files in the same dir have identical dir-name pointers after the qsort is finished.
-
Wayne Davison authored
-
Wayne Davison authored
values instead of non-zero.
-
- 13 Feb, 2005 10 commits
-
-
Wayne Davison authored
always dump the non-dir (because the dir might have contents in the list).
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
of storing it into the files[] array. - Made flist_find() return "no match" if the found item differs in its directory-ness from the search item. - Changed f_name_cmp() to sort sub-directories after non-directories for each directory's contents. This makes things like the upcoming --fuzzy patch easier to get right. - One complicating factor is that clean_flist() needed some extra code to ensure that a directory doesn't duplicate a non-directory of the same name. - Make sure that the "strip_root" code in clean_flist() (for relative paths) strips off all leading slashes.
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-
- 12 Feb, 2005 12 commits
-
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
in the newest test case.
-
Wayne Davison authored
trying to stat() any items inside that dir's hierarchy. This fixes a bug where a symlink to a dir getting replaced by a dir with identical contents to the dir at the other end of the symlink would not report the updated files in the new hierarchy. (See bug #1673)
-
Wayne Davison authored
(i.e. exclude patterns only) and side-restricted filter rules.
-
Wayne Davison authored
might have spaces.
-
Wayne Davison authored
-
Wayne Davison authored
rules.
-
Wayne Davison authored
apply to the indicated (sender/receiver) side. - Added the hide/show and protect/risk filter rules as an alternate way to specify sender-/receiver-specific include/exclude rules. - send_rules() now allows f_out to be -1 to indicate that the list should be scanned but not sent. - send_rules() now filters the list to remove any items that don't apply to the current side (after sending the item to the other side when f_out != -1). - {send,recv}_filter_list() now transfer the list, even when the receiver is the server and --delete-excluded was specified (the exchanged list is appropriately filtered, of course). - recv_filter_list() uses send_rules() to trim non-applicable rules when we're a local-server (because we got our filter list without send/recv calls when fork() duplicated it).
-
Wayne Davison authored
- Updated MATCHFLGS_FROM_CONTAINER.
-
Wayne Davison authored
when --delete-excluded is set because our list has been trimmed to only include rules that apply in the current mode.
-
Wayne Davison authored
of all the conditional code to support that. - Improved the comment before send_directory() to indicate that it gets called with f == -1 from delete_in_dir().
-
- 11 Feb, 2005 3 commits
-
-
Wayne Davison authored
-
Wayne Davison authored
-
Wayne Davison authored
-