summaryrefslogtreecommitdiff
path: root/compat/regex/regex.c
diff options
context:
space:
mode:
authorBence Ferdinandy <bence@ferdinandy.com>2024-12-05 13:16:22 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-06 02:59:40 +0900
commit012bc566bad79876f4809d1e730a348b419772d0 (patch)
treefe711e3876917ee28f1b522158ed41f7608c84d2 /compat/regex/regex.c
parent9e2b7005becaf730ff75f6efbef4542cc4454107 (diff)
remote set-head: set followRemoteHEAD to "warn" if "always"
When running "remote set-head" manually it is unlikely, that the user would actually like to have "fetch" always update the remote/HEAD. On the contrary, it is more likely, that the user would expect remote/HEAD to stay the way they manually set it, and just forgot about having "followRemoteHEAD" set to "always". When "followRemoteHEAD" is set to "always" make running "remote set-head" change the config to "warn". Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regex.c')
0 files changed, 0 insertions, 0 deletions