Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit-graph: add --split option to builtin
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index c78ba83744451f50ee1a7db65a38d3cc0e984b2a..bb7421023ba584d59592124aa6f3ff2028bc5356 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-374,7
+374,7
@@
static void check_smart_http(struct discovery *d, const char *service,
d->len = reader.src_len;
d->proto_git = 1;
- } else if (
starts_with
(reader.line, "version 2")) {
+ } else if (
!strcmp
(reader.line, "version 2")) {
/*
* v2 smart http; do not consume version packet, which will
* be handled elsewhere.