X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/72e5645e95d7fd7edd0c4ab59f9812b9d6124521..c1ff70aa47e11c5b37634479a0facee775a7b6d9:/detect-renamed-lax.diff diff --git a/detect-renamed-lax.diff b/detect-renamed-lax.diff index 7b2b4c1..9785f47 100644 --- a/detect-renamed-lax.diff +++ b/detect-renamed-lax.diff @@ -20,11 +20,11 @@ switches to --detect-moved blindly accepts the staged file. -- Matt McCutchen -based-on: patch/detect-renamed +based-on: patch/master/detect-renamed diff --git a/generator.c b/generator.c --- a/generator.c +++ b/generator.c -@@ -470,7 +470,9 @@ static int fattr_find(struct file_struct *f, char *fname) +@@ -468,7 +468,9 @@ static int fattr_find(struct file_struct *f, char *fname) continue; } } @@ -35,7 +35,7 @@ diff --git a/generator.c b/generator.c diff = u_strcmp(fmid->basename, f->basename); if (diff == 0) { good_match = mid; -@@ -1785,6 +1787,21 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, +@@ -1783,6 +1785,21 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, fnamecmp = partialptr; fnamecmp_type = FNAMECMP_PARTIAL_DIR; statret = 0; @@ -80,7 +80,7 @@ diff --git a/options.c b/options.c {"fuzzy", 'y', POPT_ARG_VAL, &fuzzy_basis, 1, 0, 0 }, {"no-fuzzy", 0, POPT_ARG_VAL, &fuzzy_basis, 0, 0, 0 }, {"no-y", 0, POPT_ARG_VAL, &fuzzy_basis, 0, 0, 0 }, -@@ -2498,8 +2502,14 @@ void server_options(char **args, int *argc_p) +@@ -2532,8 +2536,14 @@ void server_options(char **args, int *argc_p) args[ac++] = "--super"; if (size_only) args[ac++] = "--size-only"; @@ -109,7 +109,7 @@ diff --git a/rsync.yo b/rsync.yo --compare-dest=DIR also compare received files relative to DIR --copy-dest=DIR ... and include copies of unchanged files --link-dest=DIR hardlink to files in DIR when unchanged -@@ -1641,6 +1643,17 @@ the bf(--partial-dir) option, that directory will be used instead. These +@@ -1656,6 +1658,17 @@ the bf(--partial-dir) option, that directory will be used instead. These potential alternate-basis files will be removed as the transfer progresses. This option conflicts with bf(--inplace) and bf(--append).