git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fcf20e
)
Fix another dot-dir implied arg issue.
v3.2.5
author
Wayne Davison
<wayne@opencoder.net>
Sun, 14 Aug 2022 19:27:25 +0000
(12:27 -0700)
committer
Wayne Davison
<wayne@opencoder.net>
Sun, 14 Aug 2022 19:27:25 +0000
(12:27 -0700)
exclude.c
patch
|
blob
|
history
diff --git
a/exclude.c
b/exclude.c
index e57744204d746c40638f45c32c5606e4e7376e98..adc82e2abcb0de0011645b72927de5b71a5e24bb 100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-399,9
+399,9
@@
void add_implied_include(const char *arg, int skip_daemon_module)
arg = cp + 3;
} else if ((cp = strrchr(arg, '/')) != NULL) {
arg = cp + 1;
- if (*arg == '.' && arg[1] == '\0')
- arg++;
}
+ if (*arg == '.' && arg[1] == '\0')
+ arg++;
arg_len = strlen(arg);
if (arg_len) {
if (strpbrk(arg, "*[?")) {