"Glen Choo via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > diff --git a/Documentation/config/discovery.txt b/Documentation/config/discovery.txt > new file mode 100644 > index 00000000000..fbe93597e7c > --- /dev/null > +++ b/Documentation/config/discovery.txt > @@ -0,0 +1,19 @@ > +discovery.bare:: > + '(Protected config only)' Specifies whether Git will work with a > + bare repository that it found during repository discovery. This > + has no effect if the repository is specified directly via the > + --git-dir command-line option or the GIT_DIR environment > + variable (see linkgit:git[1]). Ugh, I forgot to update the docs for `discovery.bare`. This should be reworded to be consistent with `safe.directory` and `uploadpack.packObjectsHook`, e.g. discovery.bare:: Specifies whether Git will work with a bare repository that it found during repository discovery. This has no effect if the repository is specified directly via the --git-dir command-line option or the GIT_DIR environment variable (see linkgit:git[1]). This config setting is only respected in protected configuration (see <<SCOPES>>). This prevents the untrusted repository from tampering with this value.