Code

upload-pack: Improve error message when bad ref requested
authorElijah Newren <newren@gmail.com>
Sat, 31 Jul 2010 20:11:46 +0000 (14:11 -0600)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Aug 2010 22:31:59 +0000 (15:31 -0700)
commit9f9aa761305e909aca9a46ccb33a5872b36bcb8e
tree8b5732592d508f2a5b26242ff8a3f55b3a65ef34
parentb73f294150c0c134a954ab6772688a9a39b54896
upload-pack: Improve error message when bad ref requested

When printing an error message saying a ref was requested that we do not
have, only print that ref, rather than the ref and everything sent to us
on the same packet line (e.g. protocol support specifications).

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5530-upload-pack-error.sh
upload-pack.c