update-ref --stdin: make error messages more consistent
commit9255f059ff0bfce7605748f62f58d6ba9055a1f3
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 7 Apr 2014 13:48:02 +0000 (7 15:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2014 19:09:12 +0000 (7 12:09 -0700)
tree9d51b3ed58d5ae61e2b9c45cbd875e46e5663f4a
parent1746ef4e9d869fb0f54194bb225604eb61a77501
update-ref --stdin: make error messages more consistent

The old error messages emitted for invalid input sometimes said
"<oldvalue>"/"<newvalue>" and sometimes said "old value"/"new value".
Convert them all to the former.  Update the tests accordingly.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/update-ref.c
t/t1400-update-ref.sh