update-ref --stdin: simplify error messages for missing oldvalues
authorMichael Haggerty <redacted>
Mon, 7 Apr 2014 13:48:03 +0000 (15:48 +0200)
committerJunio C Hamano <redacted>
Mon, 7 Apr 2014 19:09:12 +0000 (12:09 -0700)
commitac1177553d8c632e93c507f8efc80b80e6c7d3d8
tree9dd2989d399612a06f5a1d7eb0ced12d23cb0ea2
parent9255f059ff0bfce7605748f62f58d6ba9055a1f3
update-ref --stdin: simplify error messages for missing oldvalues

Instead of, for example,

    fatal: update refs/heads/master missing [<oldvalue>] NUL

emit

    fatal: update refs/heads/master missing <oldvalue>

Update the tests accordingly.

Signed-off-by: Michael Haggerty <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/update-ref.c
t/t1400-update-ref.sh
git clone https://git.99rst.org/PROJECT