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
(from parent 1:
ae682c3
)
a hack to make listing remote sites (by leaving off a target) more
author
Andrew Tridgell
<tridge@samba.org>
Tue, 29 Aug 2000 04:45:49 +0000
(
04:45
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 29 Aug 2000 04:45:49 +0000
(
04:45
+0000)
useful
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
a43a84a
..
8a1dfe3
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-222,6
+222,12
@@
void send_exclude_list(int f)
{
int i;
extern int remote_version;
+ extern int list_only, recurse;
+
+ /* this is a complete hack - blame Rusty */
+ if (list_only && !recurse) {
+ add_exclude("/*/*", 0);
+ }
if (!exclude_list) {
write_int(f,0);