builtin/commit.c: extract ignore_non_trailer() helper function
[gitweb.git] / http.h
diff --git a/http.h b/http.h
index 974ede7736ec746c9ef067dd747c407db8df8c98..12ca5c892d61a063c856bcdef9154a103c0aa4bc 100644 (file)
--- a/http.h
+++ b/http.h
@@ -139,6 +139,14 @@ struct http_get_options {
         * redirects we followed.
         */
        struct strbuf *effective_url;
+
+       /*
+        * If both base_url and effective_url are non-NULL, the base URL will
+        * be munged to reflect any redirections going from the requested url
+        * to effective_url. See the definition of update_url_from_redirect
+        * for details.
+        */
+       struct strbuf *base_url;
 };
 
 /* Return values for http_get_*() */