Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scorpio
external_rsync
Commits
bb7c4fa3
Commit
bb7c4fa3
authored
23 years ago
by
Martin Pool
Browse files
Options
Download
Email Patches
Plain Diff
Doc.
parent
c613d370
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
exclude.c
exclude.c
+4
-6
No files found.
exclude.c
View file @
bb7c4fa3
...
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment