Bug 10799 - Feature request: detail --dry-run mode when --debug=exit
Feature request: detail --dry-run mode when --debug=exit
Product: rsync
Classification: Unclassified
Component: core
All All
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2014-09-06 09:56 UTC by Dave
Modified: 2014-09-06 18:01 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2014-09-06 09:56:38 UTC
It would be much appreciated if rsync could mark exits of dry-runs specifically as such.

2014/09/06 10:22:41 [3449] [sender] _exit_cleanup(code=0, file=main.c, line=1165): about to call exit(0) (DRY RUN)

My feeling is that a --dry-run is such a fundamental modifier to the context of 'success' that it merits this special treatment.
I know you see this information when you ask for --stats but I think it is equally significant to clarify the context of the exit.

With thanks, Dave.
Comment 1 Wayne Davison 2014-09-06 18:01:15 UTC
Seems reasonable to me (and easy to do).  I've checked-in such a change to git.