Merge branch 'hv/remote-end-hung-up'
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Jul 2012 06:40:11 +0000 (23:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Jul 2012 06:40:12 +0000 (23:40 -0700)
commit348c44e78eb079fa97a575f8fb8c1fcac747efe5
treed165e016cd3067b04f0b6c4edb155ff423d84b0e
parentb12905140a8239ac687450ad43f18b5f0bcfb62e
parent46284dd1528d7bff53a4ef7c398648da91ea0842
Merge branch 'hv/remote-end-hung-up'

When we get disconnected while expecting a response from the remote
side because authentication failed, we issued an error message "The
remote side hung up unexpectedly."

Give hint that it may be a permission problem in the message when we
can reasonably suspect it.

* hv/remote-end-hung-up:
  remove the impression of unexpectedness when access is denied
connect.c
t/t5512-ls-remote.sh