summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-24 12:58:52 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-24 12:58:52 -0400
commitb87811c4b55d66b1edb26c73e6578ca9f2994a65 (patch)
treef41a9b52b1fecaac946814a2ae5a1f303f6a542a /doc
parent3bb7ecf0d30a8ecb89d075c808f529a7a3ea874b (diff)
added annex.secure-erase-command config option.
Diffstat (limited to 'doc')
-rw-r--r--doc/git-annex.mdwn12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 3e239f7d6..59a322e38 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -1427,8 +1427,16 @@ Here are all the supported configuration settings.
In the command line, %url is replaced with the url to download,
and %file is replaced with the file that it should be saved to.
- Note that both these values will automatically be quoted, since
- the command is run in a shell.
+
+* `annex.secure-erase-command`
+
+ This can be set to a command that should be run whenever git-annex
+ removes the content of a file from the repository.
+
+ In the command line, %file is replaced with the file that should be
+ erased.
+
+ For example, to use the wipe command, set it to `wipe -f %file`
* `remote.<name>.rsyncurl`