diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-04-29 10:28:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-05 08:20:10 +0200 |
commit | ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7 (patch) | |
tree | cbde3e662ca85541fd7d0c9b0220776fee59cdbf /http.h | |
parent | *.[ch]: remove extern from function declarations using sed (diff) | |
download | git-ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7.tar.xz git-ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7.zip |
*.[ch]: manually align parameter lists
In previous patches, extern was mechanically removed from function
declarations without care to formatting, causing parameter lists to be
misaligned. Manually format changed sections such that the parameter
lists should be realigned.
Viewing this patch with 'git diff -w' should produce no output.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
-rw-r--r-- | http.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |