From: Martin Ågren Date: Thu, 10 May 2018 19:29:54 +0000 (+0200) Subject: refs.c: refer to "object ID", not "sha1", in error messages X-Git-Tag: v2.18.0-rc0~23^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c0bdd658bd2f06dc1c0d8fd578e80831f8d53b43?ds=inline;hp=c0bdd658bd2f06dc1c0d8fd578e80831f8d53b43 refs.c: refer to "object ID", not "sha1", in error messages We have two error messages that complain about the "sha1". Because we are about to touch one of these sites and add some tests, let's first modernize the messages to say "object ID" instead. While at it, make the second one use `error()` instead of `warning()`. After printing the message, we do not continue, but actually drop the lock and return -1 without deleting the pseudoref. Signed-off-by: Martin Ågren Signed-off-by: Junio C Hamano ---