diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-04-16 21:27:23 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-16 21:27:23 -0700 |
| commit | 4e88311f426c6bf3572524f88aeaf312ebdd94dd (patch) | |
| tree | 79f8d6deebe570b1876e3e442298b39a263090ec /promisor-remote.c | |
| parent | c2c4c4c7d540a381b974f369fb73faf33e0e8f48 (diff) | |
| parent | fa1468a1f7c7765a6c7dd1faca4c9dc241d0538c (diff) | |
| download | git-jch.tar.gz git-jch.zip | |
Merge branch 'th/promisor-quiet-per-repo' into jchjch
The "promisor.quiet" configuration variable was not used from
relevant submodules when commands like "grep --recurse-submodules"
triggered a lazy fetch, which has been corrected.
Comments?
* th/promisor-quiet-per-repo:
promisor-remote: fix promisor.quiet to use the correct repository
Diffstat (limited to 'promisor-remote.c')
| -rw-r--r-- | promisor-remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/promisor-remote.c b/promisor-remote.c index 5d5b96ee47..f486056493 100644 --- a/promisor-remote.c +++ b/promisor-remote.c @@ -53,7 +53,7 @@ static int fetch_objects(struct repository *repo, "fetch", remote_name, "--no-tags", "--no-write-fetch-head", "--recurse-submodules=no", "--filter=blob:none", "--stdin", NULL); - if (!repo_config_get_bool(the_repository, "promisor.quiet", &quiet) && quiet) + if (!repo_config_get_bool(repo, "promisor.quiet", &quiet) && quiet) strvec_push(&child.args, "--quiet"); if (start_command(&child)) die(_("promisor-remote: unable to fork off fetch subprocess")); |
