Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e94803
)
Patch from wayned so that add_exclude_list produces clearer debugging
author
Martin Pool
<mbp@samba.org>
Tue, 5 Feb 2002 00:25:52 +0000
(
00:25
+0000)
committer
Martin Pool
<mbp@samba.org>
Tue, 5 Feb 2002 00:25:52 +0000
(
00:25
+0000)
output with -vvv.
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
a9d32a3
..
3fb3ce8
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-201,9
+201,11
@@
void add_exclude_list(const char *pattern, struct exclude_struct ***list, int in
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;
}