Clarify documentation about interacion between "--repository" flag and command hooks (#1112).

This commit is contained in:
Dan Helfman
2025-06-30 18:02:02 -07:00
parent 1b62be0949
commit c2d2ce18a2
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
incorrectly.
* #1108: Add a "--comment" flag to the "create" action for creating an archive with a comment.
* Use the Bandit security analysis tool when running tests.
* SECURITY: Add timeouts to all monitoring hooks to prevent hangs on network requests.
* SECURITY: Add timeouts to all monitoring hooks to prevent hangs on network requests, e.g. due to
a compromised monitoring server holding requests open.
* SECURITY: For the "spot" check, use a more secure source of randomness when selecting paths to
check.
@@ -95,6 +95,10 @@ configured, meaning that the hook commands are run in that directory.
same `everything` command hook is present in multiple configuration files,
borgmatic only runs it once.
borgmatic's `--repository` flag does not impact which command hooks get run. But
you can use the `--config` flag to limit the configuration files (and thus
command hooks) used.
### Order of execution