summaryrefslogtreecommitdiff
path: root/walker.c
diff options
context:
space:
mode:
authorSam Vilain <sam@vilain.net>2007-12-18 01:00:43 +1300
committerJunio C Hamano <gitster@pobox.com>2007-12-17 20:49:18 -0800
commit5f48741a5a47643bf1b46ba1d23688f2ef8b1216 (patch)
tree60f1bc7ce5011f445bf1df38693a08918e8cd0b2 /walker.c
parent3175b0cfc1392de1ff00c01796f85b92df317cc8 (diff)
downloadgit-5f48741a5a47643bf1b46ba1d23688f2ef8b1216.tar.gz
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>
Diffstat (limited to 'walker.c')
-rw-r--r--walker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/walker.c b/walker.c
index 397b80de9e..adc3e80ce1 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])))