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
879b6ad0
Commit
879b6ad0
authored
Nov 09, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When performing a --dry-run, output a "(DRY RUN)" reminder on the
last line of the verbose summary text.
parent
f153c9c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
NEWS
NEWS
+3
-0
main.c
main.c
+3
-2
No files found.
NEWS
View file @
879b6ad0
...
...
@@ -18,6 +18,9 @@ Changes since 2.6.9:
understand the -d option (i.e. it is 2.6.3 or older), you will need to
either turn off -d (--no-d), or specify -r --exclude='/*/*' manually.
- In --dry-run mode, the last line of the verbose summary text is output
with a "(DRY RUN)" suffix to help remind you that no updates were made.
BUG FIXES:
- Fixed the output of -ii when combined with one of the --*-dest options:
...
...
main.c
View file @
879b6ad0
...
...
@@ -272,9 +272,10 @@ static void output_summary(void)
"sent %s bytes received %s bytes %s bytes/sec
\n
"
,
human_num
(
total_written
),
human_num
(
total_read
),
human_dnum
((
total_written
+
total_read
)
/
(
0
.
5
+
(
endtime
-
starttime
)),
2
));
rprintf
(
FINFO
,
"total size is %s speedup is %.2f
\n
"
,
rprintf
(
FINFO
,
"total size is %s speedup is %.2f
%s
\n
"
,
human_num
(
stats
.
total_size
),
(
double
)
stats
.
total_size
/
(
total_written
+
total_read
));
(
double
)
stats
.
total_size
/
(
total_written
+
total_read
),
dry_run
?
" (DRY RUN)"
:
""
);
}
fflush
(
stdout
);
...
...
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