1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00
borg/docs/usage
Lauri Niskanen 9d1a30c08b Add '--sort' option for sorting diff command output
Previously, on 'borg diff', the output always had first the modifications, then
additions, and finally removals. Output may be easier to follow if the various
kinds of changes are interleaved. This commit is a simple solution that first
collects the output lines and sorts them by file path before printing. This new
behavior is optional and disabled by default. It can be enabled with '--sort'
command line option.

This option will be especially useful after the planned multi-threading changes
arrive. Multi-threading may shuffle the archive order of files making diff
output hard to follow without sorting.

Resolves #797.
2016-03-31 18:55:02 +03:00
..
break-lock.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
change-passphrase.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
check.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
create.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
debug-delete-obj.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
debug-dump-archive-items.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
debug-get-obj.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
debug-put-obj.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
delete.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
diff.rst.inc Add '--sort' option for sorting diff command output 2016-03-31 18:55:02 +03:00
extract.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
help.rst.inc ran setup.py build_usage 2016-01-23 20:54:20 +01:00
info.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
init.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
list.rst.inc ItemFormatter: group keys in help output 2016-03-18 13:29:49 +01:00
migrate-to-repokey.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
mount.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
prune.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
rename.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
serve.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00
upgrade.rst.inc add changes from running build_api and build_usage 2016-03-17 14:35:56 +01:00