summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-06-16 16:21:30 -0700
committerJunio C Hamano <gitster@pobox.com>2010-06-16 16:21:30 -0700
commit161cbf0b8e3280daab85a5b76910057a63016314 (patch)
treea0fb650b2dd64b788a73695f2c8ac1eba011eb4a /http.h
parentd6bf0cf9bf59257d587e37a6b689a22dc8a9092a (diff)
parent90d05713575ea6ed21d05228bcda8461f7b28ccf (diff)
downloadgit-161cbf0b8e3280daab85a5b76910057a63016314.tar.gz
Merge branch 'sp/maint-dumb-http-pack-reidx' into maint
* sp/maint-dumb-http-pack-reidx: http.c::new_http_pack_request: do away with the temp variable filename http-fetch: Use temporary files for pack-*.idx until verified http-fetch: Use index-pack rather than verify-pack to check packs Allow parse_pack_index on temporary files Extract verify_pack_index for reuse from verify_pack Introduce close_pack_index to permit replacement http.c: Remove unnecessary strdup of sha1_to_hex result http.c: Don't store destination name in request structures http.c: Drop useless != NULL test in finish_http_pack_request http.c: Tiny refactoring of finish_http_pack_request t5550-http-fetch: Use subshell for repository operations http.c: Remove bad free of static block
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/http.h b/http.h
index c78cacb9c3..b431b8bd5b 100644
--- a/http.h
+++ b/http.h
@@ -153,7 +153,6 @@ struct http_pack_request
struct packed_git *target;
struct packed_git **lst;
FILE *packfile;
- char filename[PATH_MAX];
char tmpfile[PATH_MAX];
struct curl_slist *range_header;
struct active_request_slot *slot;
@@ -168,7 +167,6 @@ extern void release_http_pack_request(struct http_pack_request *preq);
struct http_object_request
{
char *url;
- char filename[PATH_MAX];
char tmpfile[PATH_MAX];
int localfile;
CURLcode curl_result;