]> git.99rst.org Git - git.git/commit
fetch: add new config option fetch.all
authorTamino Bauknecht <redacted>
Mon, 8 Jan 2024 21:13:55 +0000 (22:13 +0100)
committerJunio C Hamano <redacted>
Mon, 8 Jan 2024 21:36:23 +0000 (13:36 -0800)
commit39487a1510fcdbb4124882f531a077dbdfe1ef60
tree692585da137c7b9381ce5749b319c31a0fc876c1
parenta26002b62827b89a19b1084bd75d9371d565d03c
fetch: add new config option fetch.all

Introduce a boolean configuration option fetch.all which allows to
fetch all available remotes by default. The config option can be
overridden by explicitly specifying a remote or by using --no-all.
The behavior for --all is unchanged and calling git-fetch with --all
and a remote will still result in an error.

Additionally, describe the configuration variable in the config
documentation and implement new tests to cover the expected behavior.
Also add --no-all to the command-line documentation of git-fetch.

Signed-off-by: Tamino Bauknecht <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/config/fetch.txt
Documentation/fetch-options.txt
builtin/fetch.c
t/t5514-fetch-multiple.sh
git clone https://git.99rst.org/PROJECT