]> git.ipfire.org Git - thirdparty/git.git/commit
checkout_entry(): remove unreachable error() call
authorMatheus Tavares <matheus.bernardino@usp.br>
Tue, 18 Aug 2020 17:46:55 +0000 (14:46 -0300)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Aug 2020 20:26:10 +0000 (13:26 -0700)
commit748f733d542c8cca1013c1b0901cd96977a7ea11
tree4d75353fd4d24140b297b704425a0e6b27dc24c0
parent47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
checkout_entry(): remove unreachable error() call

This if statement never evaluates to true since we already check
state->force a few lines above, and immediately return when it is
false.

Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
entry.c