diff options
| author | Junio C Hamano <gitster@pobox.com> | 2010-12-12 21:49:52 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-12-12 21:49:52 -0800 |
| commit | a0078dee90e9b6baf17fa22cdeaadd8bec49e725 (patch) | |
| tree | 5e080b2401222e5839a1d4bc6e3abadc9800e936 /http.h | |
| parent | Merge branch 'tc/format-patch-p' (diff) | |
| parent | http-fetch: rework url handling (diff) | |
| download | git-a0078dee90e9b6baf17fa22cdeaadd8bec49e725.tar.gz git-a0078dee90e9b6baf17fa22cdeaadd8bec49e725.zip | |
Merge branch 'tc/http-urls-ends-with-slash'
* tc/http-urls-ends-with-slash:
http-fetch: rework url handling
http-push: add trailing slash at arg-parse time, instead of later on
http-push: check path length before using it
http-push: Normalise directory names when pushing to some WebDAV servers
http-backend: use end_url_with_slash()
url: add str wrapper for end_url_with_slash()
shift end_url_with_slash() from http.[ch] to url.[ch]
t5550-http-fetch: add test for http-fetch
t5550-http-fetch: add missing '&&'
Diffstat (limited to 'http.h')
| -rw-r--r-- | http.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,6 +8,7 @@ #include "strbuf.h" #include "remote.h" +#include "url.h" /* * We detect based on the cURL version if multi-transfer is @@ -117,7 +118,6 @@ extern void append_remote_object_url(struct strbuf *buf, const char *url, int only_two_digit_prefix); extern char *get_remote_object_url(const char *url, const char *hex, int only_two_digit_prefix); -extern void end_url_with_slash(struct strbuf *buf, const char *url); /* Options for http_request_*() */ #define HTTP_NO_CACHE 1 |
