• Wayne Davison's avatar
    - Added some new refused_* variables that note if certain options · 3671987f
    Wayne Davison authored
      have been refused on the server daemon.  This allows us to reject
      implied options (e.g. if --partial is refused and -P specified).
    - Changed the handling of the --delete refusals from the old idiom
      of upgrading "delete" to "delete*" into the new idiom of checking
      if refused_delete is set when we determine --delete was implied.
    - Changed the --del option from a popt alias into a normal option.
    - Mark all the daemon options as refused when a daemon is parsing
      the over-the-socket options.
    - Created a new function, create_refuse_error(), which is now called
      from all the spots that check for refused options.
    - Don't call clean_fname() on an empty string -- either reject it
      or handle it without erroneously expanding the string.
    - If --delay-updates was specified without a --partial-dir option,
      don't send the default "--partial-dir=.~tmp~" option if the server
      is the receiver -- just let it default.
    3671987f
options.c 44.1 KB