summaryrefslogtreecommitdiff
path: root/options.c
Commit message (Collapse)AuthorAgeFilesLines
* Preparing for release of 3.3.0pre1 [buildall]v3.3.0pre1Wayne Davison2023-04-291-1/+1
|
* Fix flist string comparison issue in tr_TR.utf-8 locale.Wayne Davison2023-02-051-1/+1
|
* Add backtick to SHELL_CHARS.Wayne Davison2023-01-041-1/+1
|
* Duplicate argv data before poptFreeContext().Wayne Davison2022-11-221-70/+90
|
* Avoid quoting of tilde when it's a destination arg.Wayne Davison2022-11-051-1/+1
|
* Use JSON output if --version (-V) is repeated (client side only).Wayne Davison2022-09-101-1/+1
|
* Rename `--protect-args` to `--secluded-args`.Wayne Davison2022-08-231-4/+6
|
* Allow ~/remote/./path with -R if the path has /./ in it.Wayne Davison2022-08-151-1/+3
|
* Add `--trust-sender` option.Wayne Davison2022-08-091-1/+10
|
* Escape leading tilde char when "~" or with -R.Wayne Davison2022-08-091-0/+7
|
* Fix some issues with backslashed wildcards in args.Wayne Davison2022-08-081-1/+4
|
* More improvements to file-list checkingWayne Davison2022-08-011-1/+1
| | | | | | - Avoid implied rules on generator and (with extra certainty) on server - Add -R implied-directory path elements as directory includes - Log about extra file-list checking using a new --debug=FILTER3 level
* Add new & improved `--copy-devices` option.Wayne Davison2022-03-271-0/+7
|
* Complain about --old-args with --protect-args.Wayne Davison2022-01-171-2/+10
|
* A repeated `--old-args` does more escape disabling.Wayne Davison2022-01-091-4/+11
|
* Add an arg-protection idiom using backslash-escapesWayne Davison2022-01-091-52/+91
| | | | | | | | The new default is to protect args and options from unintended shell interpretation using backslash escapes. See the new `--old-args` option for a way to get the old-style splitting. This idiom was chosen over making `--protect-args` enabled by default because it is more backward compatible (e.g. it works with rrsync). Fixes #272.
* Only send the `--no-W` kluge to a receiver.Wayne Davison2022-01-021-1/+1
|
* Preparing for release of 3.2.4pre1v3.2.4pre1Wayne Davison2022-01-021-1/+1
|
* Tweak stderr handling for older BackupPC versionsWayne Davison2022-01-021-0/+5
| | | | | This makes the default for a protocol-28 server process be --stderr=client instead of --stderr=errors. See rsync's github issue #95.
* Add the --info=NONREG setting.Wayne Davison2021-11-031-6/+7
|
* Make --chown|--usermap|--groupmap imply -o|-g (as appropriate).Wayne Davison2021-10-191-0/+4
|
* Improve --omit-dir-times & --omit-link-timesWayne Davison2021-10-101-23/+11
| | | | | The code now better handles skipping time setting on dirs and/or links when --atimes and/or --crtimes is specified without --times.
* Add --fsync option (promoted from patches).Wayne Davison2021-09-271-0/+5
|
* Help avoid a --sparse --inplace bug in older rsyncs.Wayne Davison2021-09-271-1/+5
|
* Various file comparison improvementsWayne Davison2020-09-221-1/+1
| | | | | | | | | | | | | | | | - Rename unchanged_file() to quick_check_ok(). - Enhance quick_check_ok() to work with non-regular files. - Add a get_file_type() function to the generator. - Use the new functions in the generator code to make the logic simpler. - Fix a bug where the `--alt-dest` functions were not checking if a special file fully matched the non-permission mode bits before deciding if we have found an alt-dest match. - Enhance the `--info=skip --ignore-existing` output to include extra info on if the existing file differs in type or passes the standard quick-check logic. - Add `--info=skip2` that authorizes rsync to perform a slow checksum "quick check" when ignoring existing files. This provides the uptodate and differs info even if we need to checksum a file to get it.
* Simplify the compat logic for local_serverWayne Davison2020-08-271-41/+48
| | | | | | Change the logic in compat.c to construct the client_info string value for a local copy so that the various checks of the string don't need to make an exception for local_server.
* Move SUPPORT_ATIMES to rsync.h.Wayne Davison2020-08-031-4/+0
|
* Create usage.c for smaller awk-dep rebuilds.Wayne Davison2020-08-031-235/+0
|
* Use RSYNC_GITVER in more outputWayne Davison2020-08-031-1/+6
|
* Put git version in a file for between-release versioning.Wayne Davison2020-08-011-1/+2
|
* Change new stderr options to `--stderr=MODE`.Wayne Davison2020-07-251-3/+20
|
* Change daemon variable & simplify some option codeWayne Davison2020-07-251-8/+0
| | | | | | | | | - Rename daemon_over_rsh -> daemon_connection since it is also used to indicate if a non-rsh daemon connection is active. - Move the daemon-over-rsh exception out of server_options() to the one caller that needs that behavior. - Don't allow noop_io_until_death() to be short-circuited when talking to a daemon over a socket, because it can't send errors via stderr.
* Add `--errors2stderr` & `--msgs2protocol` options.Wayne Davison2020-07-241-1/+3
|
* Fix devices-fake test if rsync can't link specialsWayne Davison2020-07-241-0/+5
| | | | | | - Add info about hardlinked specials to --version output. - Use "no hardlink-special" info to ensure that the devices-fake test will not fail.
* Add --mkpath option. Fixes bugzilla bug 4621.Wayne Davison2020-07-231-0/+6
|
* Simplify the msgs2stderr default logic.Wayne Davison2020-07-231-4/+2
|
* Improve error output for local & remote-shell xfersWayne Davison2020-07-231-3/+10
|
* Add --crtimes option.Wayne Davison2020-07-221-0/+16
|
* Check for overflow the right way.Wayne Davison2020-07-121-2/+2
|
* Add the --stop-after & --stop-at options.Wayne Davison2020-07-121-0/+181
|
* Some number & string improvementsWayne Davison2020-07-111-5/+5
| | | | | | | - Use strdup(do_big_num(...)) to replace num_to_byte_string(...). - Allow a ',' for a decimal point in a SIZE option in some locales. - Get rid of old (now unused) strdup() compatibility function. - Try harder to include the newline in a single error message write.
* Allow --block-size's size to have a suffix.Wayne Davison2020-07-101-28/+44
| | | | Change the block_size global to be an int32.
* Warning fixes & impossible-failure improvementsWayne Davison2020-07-081-1/+1
| | | | | - Silence a couple warnings for less-common builds. - Use a better impossible-failure idiom than assert(0).
* Allow --max-alloc=0 for unlimited.Wayne Davison2020-07-071-1/+1
|
* Allow --bwlimit=0 again.Wayne Davison2020-07-071-6/+6
|
* Send the uid/gid 0 name since not all systems use 0 for root.Wayne Davison2020-07-051-0/+1
|
* Tweak a couple var names.Wayne Davison2020-07-051-9/+9
|
* Put the optimizations into their own list.Wayne Davison2020-06-301-21/+15
|
* A few more simple changes & fixes.Wayne Davison2020-06-261-1/+1
|
* Some memory allocation improvementsWayne Davison2020-06-251-56/+62
| | | | | | | | | | - All the memory-allocation macros now auto-check for failure and exit with a failure message that incudes the caller's file and lineno info. This includes strdup(). - Added the `--max-alloc=SIZE` option to be able to override the memory allocator's sanity-check limit. It defaults to 1G (as before). Fixes bugzilla bug 12769.