1
0
mirror of https://github.com/restic/restic.git synced 2024-06-28 08:00:52 +02:00
restic/cmd/restic
Michael Eischer d72181c8c1 Ensure that the lock cleanup handler is run after the global one
cleanup handlers run in the order in which they are added. As Go calls
init() functions in lexical order, the cleanup handler from global.go
was registered before that from lock.go, which is the correct order.

Make this order explicit to ensure that this won't break accidentally.
2022-02-12 20:21:58 +01:00
..
testdata copy: test that trees with unstable json encoding are properly copied 2021-03-08 22:16:48 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
cleanup.go cmd/restic: Streamline progress printing 2021-09-03 11:48:22 +02:00
cmd_backup_test.go Add more error checks 2021-01-30 20:02:37 +01:00
cmd_backup.go rename snapshot timestamp filter variable 2022-02-05 22:42:38 +01:00
cmd_cache.go restic cache should display the name of the cache without shortening it in the case of the restic check 2021-11-06 20:18:51 +01:00
cmd_cat.go cat: only load index if really necessary 2021-05-23 13:11:55 +02:00
cmd_check_test.go [#issue 3490] Support for specifying file size in read-data-subset 2021-11-02 15:25:46 +05:30
cmd_check.go Merge pull request #3474 from kitone/fix-issue-3382 2021-11-07 17:57:54 +01:00
cmd_copy.go Merge pull request #3593 from DarkKirb/parallelize-restic-copy 2021-12-29 22:31:54 +01:00
cmd_debug.go debug: fix usage for examine command 2021-03-10 22:22:33 +01:00
cmd_diff.go Add json output for diff command 2022-01-23 23:22:26 +01:00
cmd_dump_test.go dump: Add test for splitPath 2020-08-30 16:00:48 +02:00
cmd_dump.go Avoid choosing parent snapshot newer than time of current snapshot 2022-01-23 23:55:00 -05:00
cmd_find.go find: Address review comments 2021-07-06 21:04:34 +02:00
cmd_forget.go [issue 3464] skip lock creation in case of dry-run 2022-01-23 06:44:41 +03:00
cmd_generate.go bump cobra and add completions for fish 2021-05-21 13:47:52 +10:00
cmd_init.go Treat an empty password as a fatal error for repository init. 2021-02-28 00:40:00 +01:00
cmd_key.go key: Check that a new key file actually works 2021-06-12 23:09:19 +02:00
cmd_list.go debug/list: parallelize index loading 2020-12-22 22:36:18 +01:00
cmd_ls_test.go Add file mode in symbolic notation to ls --json 2021-11-16 19:45:50 +02:00
cmd_ls.go [#issue 3463] Improve clarity of error message in restic ls command 2021-12-27 22:42:27 +05:30
cmd_migrate.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_mount.go mount: Improve usage information when mounted 2021-11-01 20:59:20 +01:00
cmd_options.go Some options fixes 2020-12-23 23:26:04 +03:00
cmd_prune.go Merge pull request #3591 from MichaelEischer/prune-fix-max-repack 2022-01-13 03:53:20 +01:00
cmd_rebuild_index.go rebuild-index: Ignore broken index files 2021-08-22 18:23:47 +02:00
cmd_recover.go internal/restic: Don't allocate in Tree.Insert 2021-09-26 18:08:48 +02:00
cmd_restore.go Avoid choosing parent snapshot newer than time of current snapshot 2022-01-23 23:55:00 -05:00
cmd_self_update.go Change: selfupdate: 'writing restic to' as verbose 2021-10-09 23:24:18 +03:00
cmd_snapshots_test.go Add more error checks 2021-01-30 20:02:37 +01:00
cmd_snapshots.go cmd/snapshots: Add option to limit snapshots list 2021-05-13 20:18:23 +02:00
cmd_stats.go restic: let FindUsedBlobs handle multiple snapshots at once 2021-01-28 11:08:43 +01:00
cmd_tag.go fix(cmd_tag): Use restic.TagLists 2020-12-29 17:12:46 +01:00
cmd_unlock.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_version.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
delete.go backup: cleanly shutdown goroutines on error 2021-05-23 13:02:44 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude_test.go Add tests 2020-11-28 17:00:31 +01:00
exclude.go Add more error checks 2021-01-30 20:02:37 +01:00
find.go Avoid choosing parent snapshot newer than time of current snapshot 2022-01-23 23:55:00 -05:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go Dead code removal 2020-08-04 08:38:57 +02:00
global_debug.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_release.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_test.go Fix issues reported by staticcheck 2021-01-30 20:43:53 +01:00
global.go Ensure that the lock cleanup handler is run after the global one 2022-02-12 20:21:58 +01:00
integration_fuse_test.go Portability fixes to internal/restic 2020-12-29 01:35:01 +01:00
integration_helpers_test.go Remove a few unused variables 2020-09-05 10:06:23 +02:00
integration_helpers_unix_test.go integration tests: Redirect directory diff into intermediate buffer 2020-08-29 10:48:44 +02:00
integration_helpers_windows_test.go Remove some unused assignments 2020-10-06 14:55:13 +02:00
integration_test.go diff: add basic test for json output format 2022-02-06 11:44:15 +01:00
local_layout_test.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
lock.go Ensure that the lock cleanup handler is run after the global one 2022-02-12 20:21:58 +01:00
main.go Properly check that --quiet and --verbose are not combined 2020-12-30 21:24:18 +01:00
progress.go backup: Reenable JSON status updates with redirected output 2021-09-12 15:26:40 +02:00
secondary_repo_test.go Cleanup comments in secondary repo test 2021-03-08 22:41:13 +01:00
secondary_repo.go Add repositoryFile2 option 2021-03-08 22:41:13 +01:00