aboutsummaryrefslogtreecommitdiffstats
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-08-25 14:22:03 -0700
committerJunio C Hamano <gitster@pobox.com>2025-08-25 14:22:04 -0700
commitebb45da9767f096993c9cfa0539c738bec581487 (patch)
tree6b9626c602e8a24df7002be63215ab1e1d43abca /git.c
parentMerge branch 'ps/commit-graph-wo-globals' (diff)
parentrepo: add the --format flag (diff)
downloadgit-ebb45da9767f096993c9cfa0539c738bec581487.tar.gz
git-ebb45da9767f096993c9cfa0539c738bec581487.zip
Merge branch 'lo/repo-info'
A new subcommand "git repo" gives users a way to grab various repository characteristics. * lo/repo-info: repo: add the --format flag repo: add the field layout.shallow repo: add the field layout.bare repo: add the field references.format repo: declare the repo command
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 958796d0b4..5dc210b7b4 100644
--- a/git.c
+++ b/git.c
@@ -611,6 +611,7 @@ static struct cmd_struct commands[] = {
{ "repack", cmd_repack, RUN_SETUP },
{ "replace", cmd_replace, RUN_SETUP },
{ "replay", cmd_replay, RUN_SETUP },
+ { "repo", cmd_repo, RUN_SETUP },
{ "rerere", cmd_rerere, RUN_SETUP },
{ "reset", cmd_reset, RUN_SETUP },
{ "restore", cmd_restore, RUN_SETUP | NEED_WORK_TREE },