]> git.99rst.org Git - git.git/commit
fetch: return 0 on known git_fetch_config
authorMatt Hunter <redacted>
Fri, 19 Jun 2026 09:44:24 +0000 (05:44 -0400)
committerJunio C Hamano <redacted>
Fri, 19 Jun 2026 16:19:35 +0000 (09:19 -0700)
commitc6ac26e0137c0443c5840d6485216a60e3d3c5a2
tree73802b351fbf5bee4ea8077d971840ea7d4043e4
parentb4154d85de799e8bcebae9850bb892da59b78e86
fetch: return 0 on known git_fetch_config

The git config callback for git-fetch should only forward calls to
git_default_config when an unknown key is given.  Prevent this in the
case of 'fetch.output' by returning '0', as the other known keys do.

Signed-off-by: Matt Hunter <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/fetch.c
git clone https://git.99rst.org/PROJECT