]> git.ipfire.org Git - thirdparty/git.git/commit
repo: add the field objects.format
authorLucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Thu, 4 Sep 2025 13:40:17 +0000 (10:40 -0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Sep 2025 18:36:40 +0000 (11:36 -0700)
commitc2e3713334aa822683f046bbad7905ec8510d38b
tree30c6518435c2895bb45946ea112699759c12beae
parenta92f5ca0d5c1b27f70a519efba967d613fd48a7a
repo: add the field objects.format

The flag `--show-object-format` from git-rev-parse is used for
retrieving the object storage format. This way, it is used for
querying repository metadata, fitting in the purpose of git-repo-info.

Add a new field `objects.format` to the git-repo-info subcommand
containing that information.

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>
Documentation/git-repo.adoc
builtin/repo.c
t/t1900-repo.sh