]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: fixup set_head advice for warn-if-not-branch
authorMatt Hunter <m@lfurio.us>
Fri, 19 Jun 2026 09:44:20 +0000 (05:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Jun 2026 16:19:35 +0000 (09:19 -0700)
commit3e09c9e8207eb425ce45863da6bbfe11cd49a765
treedb1aef2984e286a3922627779a1a8791078f07c8
parent0fae78c9d55efe705877ea537fe42c59164ccd94
fetch: fixup set_head advice for warn-if-not-branch

Specifying the word 'branch' in the command is not correct - a mismatch
with both the implementation in remote.c and the documentation.

Signed-off-by: Matt Hunter <m@lfurio.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c