projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add git-name-rev
[git.git]
/
connect.c
diff --git
a/connect.c
b/connect.c
index
57e25a3
..
b171c5d
100644
(file)
--- a/
connect.c
+++ b/
connect.c
@@
-59,11
+59,8
@@
int get_ack(int fd, unsigned char *result_sha1)
if (!strcmp(line, "NAK"))
return 0;
if (!strncmp(line, "ACK ", 3)) {
if (!strcmp(line, "NAK"))
return 0;
if (!strncmp(line, "ACK ", 3)) {
- if (!get_sha1_hex(line+4, result_sha1)) {
- if (strstr(line+45, "continue"))
- return 2;
+ if (!get_sha1_hex(line+4, result_sha1))
return 1;
return 1;
- }
}
die("git-fetch_pack: expected ACK/NAK, got '%s'", line);
}
}
die("git-fetch_pack: expected ACK/NAK, got '%s'", line);
}