]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/update-ref.c
update-ref --stdin: improve the error message for unexpected EOF
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 7 Apr 2014 13:48:08 +0000 (15:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2014 19:09:14 +0000 (12:09 -0700)
commit726f69166ff0ac3fef0a9a0241f09a7d9f0fa48f
tree81bb15bdad41e26280da49af138dbc0eb57fa017
parentff6ee39525244b7c1bca1953743fdcc14605a031
update-ref --stdin: improve the error message for unexpected EOF

Distinguish this error from the error that an argument is missing for
another reason.  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