summaryrefslogtreecommitdiff
path: root/exclude.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-02-18 19:10:28 +0000
committerMartin Pool <mbp@samba.org>2002-02-18 19:10:28 +0000
commitbb7c4fa3612a6202e92611acca7f25c0d8bcf799 (patch)
treed6eac8ebfa0c81efad60f7c89d50217b02ffd515 /exclude.c
parentc613d3704853c399f6b30b35fb1c9e63045b761a (diff)
downloadrsync-bb7c4fa3612a6202e92611acca7f25c0d8bcf799.tar.gz
Doc.
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/exclude.c b/exclude.c
index ffcd0a76..55c48a1a 100644
--- a/exclude.c
+++ b/exclude.c
@@ -131,11 +131,6 @@ static void report_exclude_result(char const *name,
/* If a trailing slash is present to match only directories,
* then it is stripped out by make_exclude. So as a special
* case we add it back in here. */
-
- /* FIXME: At the moment if you don't specify --recursive, this
- * seems to give messages like "excluding file
- * mbpconfig/.Xresources because of pattern /*""/*", which is
- * a bit confusing. See Rusty's gross hack below. */
if (verbose >= 2)
rprintf(FINFO, "%s %s %s because of pattern %s%s\n",
@@ -267,7 +262,10 @@ void send_exclude_list(int f)
extern int remote_version;
extern int list_only, recurse;
- /* this is a complete hack - blame Rusty */
+ /* This is a complete hack - blame Rusty.
+ *
+ * FIXME: This pattern shows up in the output of
+ * report_exclude_result(), which is not ideal. */
if (list_only && !recurse) {
add_exclude("/*/*", 0);
}