[Kde-games-devel] Cannot use "git push"
Wolfgang Rohdewald
wolfgang at rohdewald.de
Mon Oct 22 11:57:22 UTC 2012
Am Montag, 22. Oktober 2012, 21:53:44 schrieb Ian Wadham:
> My last successful "git push" was Saturday 2012-10-20 11:34 am UTC, late on
> Saturday evening my time. During the 48 hours since then, I have been trying
> to push other changes, but keep getting the message:
>
> fatal: The remote end hung up unexpectedly
this summmer git has seen improvements, trying to give more details
as to why this happens. I don't know which side - the server or your
client - would need to be updated.
commit 348c44e78eb079fa97a575f8fb8c1fcac747efe5
Merge: b129051 46284dd
Author: Junio C Hamano <gitster at pobox.com>
Date: Wed Jul 4 23:40:11 2012 -0700
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
commit 46284dd1528d7bff53a4ef7c398648da91ea0842
Author: Heiko Voigt <hvoigt at hvoigt.net>
Date: Tue Jun 19 20:24:50 2012 +0200
remove the impression of unexpectedness when access is denied
If a server accessed through ssh is denying access git will currently
issue the message
"fatal: The remote end hung up unexpectedly"
as the last line. This sounds as if something really ugly just happened.
Since this is a quite typical situation in which users regularly get
we do not say that if it happens at the beginning when reading the
remote heads.
If its in the very first beginning of reading the remote heads it is
very likely an authentication error or a missing repository.
If it happens later during reading the remote heads we still indicate
that it happened during this initial contact phase.
Signed-off-by: Heiko Voigt <hvoigt at hvoigt.net>
Signed-off-by: Junio C Hamano <gitster at pobox.com>
--
Wolfgang
More information about the kde-games-devel
mailing list