Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Clarify error response from 'git fetch' for bad responses
author
Sam Vilain
<sam@vilain.net>
Mon, 17 Dec 2007 12:00:43 +0000
(
01:00
+1300)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Dec 2007 04:49:18 +0000
(20:49 -0800)
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>
walker.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3175b0c
)
diff --git
a/walker.c
b/walker.c
index 397b80de9e949ea7d70c723f7a58c9ffdaf0a168..adc3e80ce14ab60b585e295d029261f5b53acb51 100644
(file)
--- 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])))