]> git.ipfire.org Git - thirdparty/git.git/commit
submodule-config: fix reading submodule.fetchJobs
authorSaagar Jha <saagar@saagarjha.com>
Sun, 10 May 2026 03:50:22 +0000 (03:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 May 2026 23:25:35 +0000 (08:25 +0900)
commitaa45a5902f23975b7075c97ad0451f7b4e9ccd9a
tree98121fb52d95bb5c3d79001670a93a7cbbbb3d33
parent67ad42147a7acc2af6074753ebd03d904476118f
submodule-config: fix reading submodule.fetchJobs

update_clone_config_from_gitmodules() passes &max_jobs to
config_from_gitmodules(), but max_jobs is already a pointer. This causes
the config value to be written to the wrong address and get dropped.

Pass max_jobs directly.

Signed-off-by: Saagar Jha <saagar@saagarjha.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule-config.c
t/t7406-submodule-update.sh