summaryrefslogtreecommitdiff
path: root/Documentation/config/safe.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-04-13 22:21:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-04-13 22:21:34 (GMT)
commitd516b2db0af2221bd6b13e7347abdcb5830b2829 (patch)
tree5ce8656672734b2dabab1a10747ce6674d139ac5 /Documentation/config/safe.txt
parent53ef17d3ee0f7fcb151f428ee3bd736b8046825f (diff)
parent2f0dde7852b7866bb044926f73334ff3fc30654b (diff)
downloadgit-2dcfc3c7b3e36ce197c416921c23973a924a9a64.zip
git-2dcfc3c7b3e36ce197c416921c23973a924a9a64.tar.gz
git-2dcfc3c7b3e36ce197c416921c23973a924a9a64.tar.bz2
Git 2.35.3v2.35.3
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/safe.txt')
-rw-r--r--Documentation/config/safe.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/config/safe.txt b/Documentation/config/safe.txt
index 63597b2..6d764fe 100644
--- a/Documentation/config/safe.txt
+++ b/Documentation/config/safe.txt
@@ -19,3 +19,10 @@ line option `-c safe.directory=<path>`.
The value of this setting is interpolated, i.e. `~/<path>` expands to a
path relative to the home directory and `%(prefix)/<path>` expands to a
path relative to Git's (runtime) prefix.
++
+To completely opt-out of this security check, set `safe.directory` to the
+string `*`. This will allow all repositories to be treated as if their
+directory was listed in the `safe.directory` list. If `safe.directory=*`
+is set in system config and you want to re-enable this protection, then
+initialize your list with an empty value before listing the repositories
+that you deem safe.