aboutsummaryrefslogtreecommitdiffstats
path: root/common_test.go
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-11-30 13:07:57 +0100
committerJavi Fontan <jfontan@gmail.com>2018-11-30 13:11:44 +0100
commitfdc18d60b0e0eb7c0df2cdba03e081fee3e7292c (patch)
treea104cab678cfa181dbea5f7917b6eef6b848b67d /common_test.go
parent8f52c5099e7fe4a2519920a7bbf5a9bb52ff9cec (diff)
downloadgo-git-fdc18d60b0e0eb7c0df2cdba03e081fee3e7292c.tar.gz
git: return better error message when packfile cannot be downloaded
Previously the error message when the connection was closed while fetching was "object not found" and was misleading. Now when the packfile size is 0 the error "unable to fetch packfile" is returned. Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'common_test.go')
0 files changed, 0 insertions, 0 deletions