mirror of
https://github.com/restic/restic.git
synced 2025-08-12 18:47:42 +00:00
check: Update --cache-dir argument handling based on code review comments
The temporary cache directory is created in the specified directory, or if not specified in the default temporary directory.
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
Bugfix: Use `--cache-dir` argument for `check` command
|
||||
|
||||
`check` command now uses a specific cache directory if set using the `--cache-dir` argument.
|
||||
`check` command now uses a temporary sub-directory of the specified directory
|
||||
if set using the `--cache-dir` argument. If not set, the cache directory is
|
||||
created in the default temporary directory as before.
|
||||
In either case a temporary cache is used to ensure the actual repository is
|
||||
checked (rather than a local copy).
|
||||
|
||||
The `--cache-dir` argument was not used by the `check` command, instead a cache directory was created in the temporary directory.
|
||||
The `--cache-dir` argument was not used by the `check` command, instead a
|
||||
cache directory was created in the temporary directory.
|
||||
|
||||
https://github.com/restic/restic/issues/1880
|
||||
|
Reference in New Issue
Block a user