fetch: pass --no-write-fetch-head to subprocesses
commit15184ae9da1474908060a5c9b8c6ca88891e415e
authorEric Wong <e@80x24.org>
Wed, 8 Mar 2023 22:22:05 +0000 (8 22:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Mar 2023 19:06:39 +0000 (9 11:06 -0800)
treeed5699de830884c6b94c0286b23bf28447c664d2
parent725f57037d81e24eacfda6e59a19c60c0b4c8062
fetch: pass --no-write-fetch-head to subprocesses

It seems a user would expect this option would work regardless
of whether it's fetching from a single remote, many remotes,
or recursing into submodules.

Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c
t/t5514-fetch-multiple.sh
t/t5526-fetch-submodules.sh