diff options
| author | Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> | 2025-08-16 19:46:01 -0300 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-17 09:13:40 -0700 |
| commit | acf2669b542d0a8daa505923e52d314bbae4a237 (patch) | |
| tree | 55ed8c2e208dfb6a8322cf450b2c76e2d3b0b474 /Documentation/git-repo.adoc | |
| parent | repo: add the field references.format (diff) | |
| download | git-acf2669b542d0a8daa505923e52d314bbae4a237.tar.gz git-acf2669b542d0a8daa505923e52d314bbae4a237.zip | |
repo: add the field layout.bare
This commit is part of the series that introduces the new subcommand
git-repo-info.
The flag --is-bare-repository from git-rev-parse is used for retrieving
whether the current repository is bare. This way, it is used for
querying repository metadata, fitting in the purpose of git-repo-info.
Then, add a new field layout.bare to the git-repo-info subcommand
containing that information.
Helped-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Helped-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Justin Tobler <jltobler@gmail.com>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Mentored-by: Karthik Nayak <karthik.188@gmail.com>
Mentored-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-repo.adoc')
| -rw-r--r-- | Documentation/git-repo.adoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-repo.adoc b/Documentation/git-repo.adoc index 2779a6d995..932b08c26f 100644 --- a/Documentation/git-repo.adoc +++ b/Documentation/git-repo.adoc @@ -38,6 +38,9 @@ In order to obtain a set of values from `git repo info`, you should provide the keys that identify them. Here's a list of the available keys and the values that they return: +`layout.bare`:: + `true` if this is a bare repository, otherwise `false`. + `references.format`:: The reference storage format. The valid values are: + |
