config/remote.txt: improve wording for 'remote.<name>.followRemoteHEAD'

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Philippe Blain committed Feb 14, 2025 at 17:36 UTC 0d03fda6a5db0b56df7e629ce856d2d38c89a4de
1 file changed +6 -6
Documentation/config/remote.txt
+6 -6
@@ -110,12 +110,12 @@ the values inherited from a lower priority configuration files (e.g.
110 remote.<name>.followRemoteHEAD::
111 How linkgit:git-fetch[1] should handle updates to `remotes/<name>/HEAD`.
112 The default value is "create", which will create `remotes/<name>/HEAD`
113 - if it exists on the remote, but not locally, but will not touch an
114 - already existing local reference. Setting to "warn" will print
115 - a message if the remote has a different value, than the local one and
113 + if it exists on the remote, but not locally; this will not touch an
114 + already existing local reference. Setting it to "warn" will print
115 + a message if the remote has a different value than the local one;
116 in case there is no local reference, it behaves like "create".
117 A variant on "warn" is "warn-if-not-$branch", which behaves like
118 "warn", but if `HEAD` on the remote is `$branch` it will be silent.
119 - Setting to "always" will silently update it to the value on the remote.
120 - Finally, setting it to "never" will never change or create the local
121 - reference.
119 + Setting it to "always" will silently update `remotes/<name>/HEAD` to
120 + the value on the remote. Finally, setting it to "never" will never
121 + change or create the local reference.