summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-06-16 16:32:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-16 16:32:15 -0700
commit356169c1f66287629ea08e8c9c6e27b00ff8707a (patch)
treedbcaccfc020329501fb6eaa9c84c06e5d4ab7bf6 /http.h
parentMerge branch 'by/blame-doc-m-c' into maint (diff)
parentPrompt for a username when an HTTP request 401s (diff)
downloadtgif-356169c1f66287629ea08e8c9c6e27b00ff8707a.tar.xz
Merge branch 'sc/http-late-auth' into maint
* sc/http-late-auth: Prompt for a username when an HTTP request 401s
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/http.h b/http.h
index b431b8bd5b..a0b5901594 100644
--- a/http.h
+++ b/http.h
@@ -127,6 +127,8 @@ extern void end_url_with_slash(struct strbuf *buf, const char *url);
#define HTTP_MISSING_TARGET 1
#define HTTP_ERROR 2
#define HTTP_START_FAILED 3
+#define HTTP_REAUTH 4
+#define HTTP_NOAUTH 5
/*
* Requests an url and stores the result in a strbuf.