Here's an improved version of an old patch that I submitted. It
improves the -vvv output when using --exclude and --include options:
Index: rsync/exclude.c
--- rsync/exclude.c 23 Jan 2002 04:57:18 -0000 1.39
+++ rsync/exclude.c 30 Jan 2002 18:35:46 -0000
@@ -201,9 +201,11 @@
if (!*list || !((*list)[len] = make_exclude(pattern, include)))
out_of_memory("add_exclude");
- if (verbose > 2)
- rprintf(FINFO,"add_exclude(%s)\n",pattern);
-
+ if (verbose > 2) {
+ rprintf(FINFO,"add_exclude(%s,%s)\n",pattern,
+ include ? "include" : "exclude");
+ }
+
(*list)[len+1] = NULL;
}
The old output is confusing because an include and and exclude generated
the same text. This change causes excludes to be output with
",include"
and excludes to be output with ",exclude".
..wayne..