The Samba-Bugzilla – Bug 10799
Feature request: detail --dry-run mode when --debug=exit
Last modified: 2014-09-06 18:01:15 UTC
It would be much appreciated if rsync could mark exits of dry-runs specifically as such.
2014/09/06 10:22:41  [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.
Seems reasonable to me (and easy to do). I've checked-in such a change to git.