Merge pull request #1899 from garrmcnu/check-cache-dir

check: Use --cache-dir argument
This commit is contained in:
Alexander Neumann committed 2018-07-22 21:03:52 +02:00
commit f715bef82f
2 files changed
+16 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
Bugfix: Use `--cache-dir` argument for `check` command
`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.
https://github.com/restic/restic/issues/1880