@matheusbsbs / matheus-bagliano / commits / 5f48741a5a
Fork 0

Clarify error response from 'git fetch' for bad responses

This error message prints the reponse from the server at this point. Label it as such in the output. Signed-off-by: Sam Vilain <sam@vilain.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Sam Vilain committed Dec 18, 2007 at 01:00 UTC 5f48741a5a47643bf1b46ba1d23688f2ef8b1216
1 file changed +1 -1
walker.c
+1 -1
@@ -274,7 +274,7 @@ int walker_fetch(struct walker *walker, int targets, char **target,
274
275 for (i = 0; i < targets; i++) {
276 if (interpret_target(walker, target[i], &sha1[20 * i])) {
277 - error("Could not interpret %s as something to pull", target[i]);
277 + error("Could not interpret response from server '%s' as something to pull", target[i]);
278 goto unlock_and_fail;
279 }
280 if (process(walker, lookup_unknown_object(&sha1[20 * i])))