Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
b8a39ed5
Commit
b8a39ed5
authored
Jan 21, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the new saw_delete* variables to ensure that the server side
always reads the exclude information when it is present.
parent
f5a910dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
exclude.c
exclude.c
+4
-2
No files found.
exclude.c
View file @
b8a39ed5
...
...
@@ -34,6 +34,8 @@ extern int list_only;
extern
int
recurse
;
extern
int
io_error
;
extern
int
local_server
;
extern
int
saw_delete_opt
;
extern
int
saw_delete_excluded_opt
;
extern
int
delete_mode
;
extern
int
delete_excluded
;
extern
int
cvs_exclude
;
...
...
@@ -1179,8 +1181,8 @@ void recv_filter_list(int f_in)
{
char
line
[
BIGPATHBUFLEN
];
int
xflags
=
protocol_version
>=
29
?
0
:
XFLG_OLD_PREFIXES
;
int
receiver_wants_list
=
delete_mode
&&
(
!
delete_excluded
||
protocol_version
>=
29
);
int
receiver_wants_list
=
saw_delete_opt
&&
(
!
saw_delete_excluded_opt
||
protocol_version
>=
29
);
unsigned
int
len
;
if
(
!
local_server
&&
(
am_sender
||
receiver_wants_list
))
{
...
...
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