]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http.h
travis-ci: build with GCC 4.8 as well
[thirdparty/git.git] / http.h
diff --git a/http.h b/http.h
index 32156bf7f1e52b7113041dbf5d130ba0cc0fa382..b429f1cf042bbb61e97e41cd1aacb012c4db834e 100644 (file)
--- a/http.h
+++ b/http.h
@@ -104,7 +104,7 @@ void step_active_slots(void);
 #endif
 
 void http_init(struct remote *remote, const char *url,
-                     int proactive_auth);
+              int proactive_auth);
 void http_cleanup(void);
 struct curl_slist *http_copy_default_headers(void);
 
@@ -147,10 +147,10 @@ void normalize_curl_result(CURLcode *result, long http_code, char *errorstr,
 
 /* Helpers for modifying and creating URLs */
 void append_remote_object_url(struct strbuf *buf, const char *url,
-                                    const char *hex,
-                                    int only_two_digit_prefix);
+                             const char *hex,
+                             int only_two_digit_prefix);
 char *get_remote_object_url(const char *url, const char *hex,
-                                  int only_two_digit_prefix);
+                           int only_two_digit_prefix);
 
 /* Options for http_get_*() */
 struct http_get_options {
@@ -208,7 +208,7 @@ int http_fetch_ref(const char *base, struct ref *ref);
 
 /* Helpers for fetching packs */
 int http_get_info_packs(const char *base_url,
-       struct packed_git **packs_head);
+                       struct packed_git **packs_head);
 
 struct http_pack_request {
        char *url;
@@ -234,7 +234,7 @@ struct http_object_request {
        long http_code;
        struct object_id oid;
        struct object_id real_oid;
-       git_SHA_CTX c;
+       git_hash_ctx c;
        git_zstream stream;
        int zret;
        int rename;