aboutsummaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-19 09:54:55 -0700
committerJunio C Hamano <gitster@pobox.com>2026-03-19 09:54:56 -0700
commita7a079c2c4bc7b269229a6ea6c147b6b2d5b2684 (patch)
tree204bfa2b742d068a08c53899a2a46f22db7f26b6 /builtin/commit.c
parent2ca397fa7c4a9d4764749a785f71c9a379cd0e5a (diff)
parent9df3be8e2e7e2c9bf200de4bcfbd4e690a57f033 (diff)
downloadgit-a7a079c2c4bc7b269229a6ea6c147b6b2d5b2684.tar.xz
Merge branch 'bk/run-command-wo-the-repository'
The run_command() API lost its implicit dependencyon the singleton `the_repository` instance. * bk/run-command-wo-the-repository: run-command: wean auto_maintenance() functions off the_repository run-command: wean start_command() off the_repository
Diffstat (limited to 'builtin/commit.c')
-rw-r--r--builtin/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 844bdcc728..7b23c1f883 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -1958,7 +1958,7 @@ int cmd_commit(int argc,
git_test_write_commit_graph_or_die(the_repository->objects->sources);
repo_rerere(the_repository, 0);
- run_auto_maintenance(quiet);
+ run_auto_maintenance(the_repository, quiet);
run_commit_hook(use_editor, repo_get_index_file(the_repository),
NULL, "post-commit", NULL);
if (amend && !no_post_rewrite) {