From 5f48741a5a47643bf1b46ba1d23688f2ef8b1216 Mon Sep 17 00:00:00 2001 From: Sam Vilain Date: Tue, 18 Dec 2007 01:00:43 +1300 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- walker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/walker.c b/walker.c index 397b80de9..adc3e80ce 100644 --- a/walker.c +++ b/walker.c @@ -274,7 +274,7 @@ int walker_fetch(struct walker *walker, int targets, char **target, for (i = 0; i < targets; i++) { if (interpret_target(walker, target[i], &sha1[20 * i])) { - error("Could not interpret %s as something to pull", target[i]); + error("Could not interpret response from server '%s' as something to pull", target[i]); goto unlock_and_fail; } if (process(walker, lookup_unknown_object(&sha1[20 * i]))) -- 2.30.2