Please sign in to comment.
client: don't assume server response is of length 20
We do not for sure the length; it is safer to use Protocol.read_pkt_line(). Also, handle HangupException if read_pkt_line() raises it. This happens when talking to old versions of git-daemon (v188.8.131.52-26-g38a81b4), where there won't be anything to read.
- Loading branch information...