Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote-curl: don't retry auth failures with dumb protocol
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index faaeda44a9225ff56d45e9566cccf1a2278abb27..6c24ab157c76d2571cc13cd8817c1625dbb5659d 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-115,7
+115,7
@@
static struct discovery* discover_refs(const char *service)
http_ret = http_get_strbuf(refs_url, &buffer, HTTP_NO_CACHE);
/* try again with "plain" url (no ? or & appended) */
- if (http_ret != HTTP_OK) {
+ if (http_ret != HTTP_OK
&& http_ret != HTTP_NOAUTH
) {
free(refs_url);
strbuf_reset(&buffer);