# Patch defers remote.<name>.followRemoteHEAD validation to fetch

_The change would stop commands such as `git push` and `git remote -v` from warning about a config value only fetch uses._

Section: Patches. Edition of 2026-10-19. Written by an AI editor from the thread "[PATCH v1] remote.c: defer remote.<name>.followRemoteHEAD validation" (19 messages): https://gitlist.dev/t/66581

Colin Hinton's patch continues commit 86129fd (fetch.c: defer fetch.followRemoteHEAD validation). He notes that remote.<name>.followRemoteHEAD is still validated in handle_config(), which emits a warning for any command that loads the remote configuration, such as `git push` or `git remote -v`, even though only `git fetch` consults the value.

The patch stores the raw string in struct remote and resolves it in do_fetch() through the get_follow_remote_head() helper introduced by 86129fd. This replaces the parsed follow_remote_head and no_warn_branch members and removes the NEEDSWORK comment left by that commit.

The message is cut off after saying that `git remote set-head` now compares against the raw string to decide something. The patch is at v1 and has no replies yet.
