git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
761cabe6e70b23e65f6d39bfb1bceed126a6ea9a blob 1121 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
discovery.bare::
	Specifies what kinds of directories Git can recognize as a bare
	repository when looking for the repository (aka repository
	discovery). This has no effect if repository discovery is not
	performed e.g. the path to the repository is set via `--git-dir`
	(see linkgit:git[1]).
+
This config setting is only respected when specified in a system or global
config, not when it is specified in a repository config or via the command
line option `-c discovery.bare=<value>`.
+
The currently supported values are `always` (Git always recognizes bare
repositories) and `never` (Git never recognizes bare repositories).
This defaults to `always`, but this default is likely to change.
+
If your workflow does not rely on bare repositories, it is recommended that
you set this value to `never`. This makes repository discovery easier to
reason about and prevents certain types of security and non-security
problems, such as:

* `git clone`-ing a repository containing a malicious bare repository
  inside it.
* Git recognizing a directory that isn't meant to be a bare repository,
  but happens to look like one.
debug log:

solving 761cabe6e70 ...
found 761cabe6e70 in https://80x24.org/mirrors/git.git

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).