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 <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Michael Haggerty11 years agocommitted byJunio C Hamano
@ -739,7 +739,7 @@ test_expect_success 'stdin -z fails update with no new value' '
@@ -739,7 +739,7 @@ test_expect_success 'stdin -z fails update with no new value' '
test_expect_success 'stdin -z fails update with no old value' '
test_expect_success 'stdin -z fails delete with too many arguments' '
@ -781,7 +781,7 @@ test_expect_success 'stdin -z fails verify with too many arguments' '
@@ -781,7 +781,7 @@ test_expect_success 'stdin -z fails verify with too many arguments' '
test_expect_success 'stdin -z fails verify with no old value' '