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
6d4ecad1
Commit
6d4ecad1
authored
Dec 15, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Eliminate an all-dot itemization for a locally-copied file.
- Got rid of some redundant output in maybe_log_item().
parent
1578919c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
log.c
log.c
+6
-4
No files found.
log.c
View file @
6d4ecad1
...
...
@@ -38,6 +38,7 @@ extern int module_id;
extern
int
msg_fd_out
;
extern
int
protocol_version
;
extern
int
preserve_times
;
extern
int
log_format_has_i
;
extern
int
log_format_has_o_or_i
;
extern
int
daemon_log_format_has_o_or_i
;
extern
char
*
auth_user
;
...
...
@@ -514,7 +515,8 @@ static void log_formatted(enum logcode code, char *format, char *op,
int
i
;
for
(
i
=
2
;
n
[
i
];
i
++
)
n
[
i
]
=
ch
;
}
else
if
(
n
[
0
]
==
'.'
||
n
[
0
]
==
'h'
)
{
}
else
if
(
n
[
0
]
==
'.'
||
n
[
0
]
==
'h'
||
(
n
[
0
]
==
'c'
&&
n
[
1
]
==
'f'
))
{
int
i
;
for
(
i
=
2
;
n
[
i
];
i
++
)
{
if
(
n
[
i
]
!=
'.'
)
...
...
@@ -605,9 +607,9 @@ void maybe_log_item(struct file_struct *file, int iflags, int itemizing,
char
*
buf
)
{
int
significant_flags
=
iflags
&
SIGNIFICANT_ITEM_FLAGS
;
int
see_item
=
itemizing
&&
(
significant_flags
||
*
buf
||
verbose
>
1
);
int
local_change
=
iflags
&
ITEM_LOCAL_CHANGE
&&
(
!
(
iflags
&
ITEM_XNAME_FOLLOWS
)
||
significant_flags
)
;
int
see_item
=
itemizing
&&
(
significant_flags
||
*
buf
||
(
verbose
>
1
&&
log_format_has_i
));
int
local_change
=
iflags
&
ITEM_LOCAL_CHANGE
&&
significant_flags
;
if
(
am_server
)
{
if
(
am_daemon
&&
!
dry_run
&&
see_item
)
log_item
(
file
,
&
stats
,
iflags
,
buf
);
...
...
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