]> git.ipfire.org Git - thirdparty/git.git/commit
t/t5505-remote: test failure of set-head
authorBence Ferdinandy <bence@ferdinandy.com>
Fri, 22 Nov 2024 12:28:43 +0000 (13:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Nov 2024 02:46:34 +0000 (11:46 +0900)
commit2fd55558950bdfe43fd28ca17b50691427842c35
tree083d2bbe15ad6bd5f8e5d4271fc004582fcbe1bf
parent54d820d7d4fee3a231b6ecaeb2607cb8f817f74d
t/t5505-remote: test failure of set-head

The test coverage was missing a test for the failure branch of remote
set-head auto's output. Add the missing text and while we are at it,
correct a small grammatical mistake in the error's output ("setup" is
the noun, "set up" is the verb).

Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/remote.c
t/t5505-remote.sh