Commit 7632e2494a5b8bfea41e7fbfaa0fc324e2178932

Carlos Martín Nieto 2011-06-13T23:01:12

Correctly handle network input Add a parameter to git_pkt_parse_line to tell it how much data you have in your buffer. If the buffer is too short, it returns an error saying so. Adapt the git transport to use this and fix the offset calculation. Add the GIT_ESHORTBUFFER error code.