aboutsummaryrefslogtreecommitdiffstats
path: root/http-push.c
AgeCommit message (Expand)AuthorFilesLines
2014-03-25object.h: centralize object flag allocationNguyễn Thái Ngọc Duy1-2/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-2/+2
2013-10-30Merge branch 'jk/http-auth-redirects'Junio C Hamano1-2/+2
2013-09-30http: refactor options to http_get_*Jeff King1-2/+2
2013-09-20Merge branch 'nd/fetch-into-shallow'Junio C Hamano1-1/+1
2013-09-17Merge branch 'jk/free-tree-buffer'Junio C Hamano1-2/+1
2013-08-28list-objects: reduce one argument in mark_edges_uninterestingNguyễn Thái Ngọc Duy1-1/+1
2013-07-19http-push.c::add_send_request(): do not initialize transfer_requestStefan Beller1-1/+1
2013-06-06clear parsed flag when we free tree buffersJeff King1-2/+1
2013-04-06http: drop http_error functionJeff King1-1/+1
2013-04-06http: simplify http_error helper functionJeff King1-1/+1
2013-02-11Allow building with xmlparse.hMatt Kraai1-0/+4
2013-02-10Merge branch 'sp/smart-http-content-type-check'Junio C Hamano1-2/+2
2013-02-04Verify Content-Type from smart HTTP serversShawn Pearce1-2/+2
2012-11-26xml_entities(): use function strbuf_addstr_xml_quoted()Michael Haggerty1-22/+1
2012-09-11Merge branch 'jc/merge-bases'Junio C Hamano1-2/+1
2012-08-27http-push: use in_merge_bases() for fast-forward checkJunio C Hamano1-2/+1
2012-05-22http-push: do not access git_default_email directlyJeff King1-1/+1
2012-04-30remove superfluous newlines in error messagesPete Wyckoff1-2/+2
2011-12-19Merge branch 'ab/enable-i18n'Junio C Hamano1-0/+2
2011-12-13http-push: enable "proactive auth"Jeff King1-1/+1
2011-12-05i18n: add infrastructure for translating Git with gettextÆvar Arnfjörð Bjarmason1-0/+2
2011-10-21Merge branch 'jc/match-refs-clarify'Junio C Hamano1-2/+2
2011-10-17Merge branch 'jk/http-auth'Junio C Hamano1-9/+1
2011-10-15http_init: accept separate URL parameterJeff King1-9/+1
2011-10-13Merge branch 'nd/maint-autofix-tag-in-head'Junio C Hamano1-4/+4
2011-09-18Accept tags in HEAD or MERGE_HEADNguyễn Thái Ngọc Duy1-4/+4
2011-09-12rename "match_refs()" to "match_push_refs()"Junio C Hamano1-2/+2
2011-08-25whitespace: have SP on both sides of an assignment "="Junio C Hamano1-1/+1
2011-08-16Merge branch 'jc/zlib-wrap' into maintJunio C Hamano1-8/+8
2011-07-19Merge branch 'jc/zlib-wrap'Junio C Hamano1-8/+8
2011-06-10zlib: zlib can only process 4GB at a timeJunio C Hamano1-1/+1
2011-06-10zlib: wrap deflateBound() tooJunio C Hamano1-1/+1
2011-06-10zlib: wrap deflate side of the APIJunio C Hamano1-6/+6
2011-05-04http-push: refactor curl_easy_setup madnessDan McGee1-96/+48
2011-05-04http-push: use const for strings in signaturesDan McGee1-4/+4
2011-03-16standardize brace placement in struct definitionsJonathan Nieder1-10/+5
2010-11-26http-push: add trailing slash at arg-parse time, instead of later onTay Ray Chuan1-13/+2
2010-11-26http-push: check path length before using itTay Ray Chuan1-2/+10
2010-11-26http-push: Normalise directory names when pushing to some WebDAV serversTay Ray Chuan1-0/+4
2010-05-31enums: omit trailing comma for portabilityGary V. Vaughan1-1/+1
2010-03-02http-push: remove "|| 1" to enable verbose checkTay Ray Chuan1-1/+1
2009-11-22Disable CURLOPT_NOBODY before enabling CURLOPT_PUT and CURLOPT_POSTMartin Storsjö1-1/+1
2009-11-20Merge branch 'sp/smart-http'Junio C Hamano1-3/+28
2009-11-10Show usage string for 'git http-push -h'Jonathan Nieder1-2/+4
2009-10-30Move WebDAV HTTP push under remote-curlShawn O. Pearce1-2/+27
2009-10-30http-push: fix check condition on http.c::finish_http_pack_request()Tay Ray Chuan1-1/+1
2009-07-06http-push: fix xml_entities() string parsing overrunHunter, D. Seth1-0/+2
2009-06-20Fix various sparse warnings in the git source codeLinus Torvalds1-1/+1
2009-06-13Merge branch 'rc/http-push'Junio C Hamano1-492/+93
2009-06-13Merge branch 'rc/maint-http-local-slot-fix'Junio C Hamano1-0/+6
2009-06-13Merge branch 'cb/match_refs_internal_tail'Junio C Hamano1-7/+4
2009-06-06http*: add helper methods for fetching objects (loose)Tay Ray Chuan1-198/+15
2009-06-06http*: add helper methods for fetching packsTay Ray Chuan1-84/+26
2009-06-06http*: add http_get_info_packsTay Ray Chuan1-170/+9
2009-06-06http-push.c::fetch_symref(): use the new http APIMike Hommey1-17/+3
2009-06-06http-push.c::remote_exists(): use the new http APIMike Hommey1-19/+12
2009-06-06http*: move common variables and macros to http.[ch]Tay Ray Chuan1-7/+1
2009-06-06http-push: do not SEGV after fetching a bad pack idx fileTay Ray Chuan1-0/+2
2009-06-06http*: copy string returned by sha1_to_hexTay Ray Chuan1-23/+24
2009-06-06http-push, http-walker: style fixesTay Ray Chuan1-19/+29
2009-06-06http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"Tay Ray Chuan1-0/+2
2009-06-06http-push: send out fetch requests on queueTay Ray Chuan1-11/+26
2009-06-06Merge branch 'rc/maint-http-local-slot-fix' into rc/http-pushJunio C Hamano1-0/+6
2009-06-06http*: cleanup slot->local after fcloseTay Ray Chuan1-0/+6
2009-06-01match_refs: search ref list tail internallyClemens Buchacher1-7/+4
2009-05-31http-push: reuse existing is_null_refClemens Buchacher1-16/+5
2009-05-25Merge branch 'ar/unlink-err' into maintJunio C Hamano1-6/+6
2009-05-24Merge branch 'maint'Junio C Hamano1-1/+2
2009-05-24Merge branch 'maint-1.6.2' into maintJunio C Hamano1-1/+2
2009-05-24Merge branch 'maint-1.6.1' into maint-1.6.2Junio C Hamano1-1/+2
2009-05-24Merge branch 'maint-1.6.0' into maint-1.6.1Junio C Hamano1-1/+2
2009-05-24http-push.c::remove_locks(): fix use after freeAlex Riesen1-1/+2
2009-05-21Terminate argv with NULL before calling setup_revisions()Nguyễn Thái Ngọc Duy1-1/+2
2009-04-29replace direct calls to unlink(2) with unlink_or_warnAlex Riesen1-6/+6
2009-04-11Replace ",<,>,& with their respective XML entities in DAV requestsMike Hommey1-2/+34
2009-04-07Merge branch 'ms/http-auth'Junio C Hamano1-0/+24
2009-04-06Merge branch 'jc/shared-literally'Junio C Hamano1-1/+0
2009-04-02Allow curl to rewind the read buffersMartin Storsjö1-0/+24
2009-03-27Move chmod(foo, 0444) into move_temp_to_file()Johan Herland1-1/+0
2009-03-26Merge branch 'mg/http-auth'Junio C Hamano1-77/+85
2009-03-23http-push: using error() and warning() as appropriateMiklos Vajna1-3/+3
2009-03-19http-push.c: use a faux remote to pass to http_initAmos King1-1/+9
2009-03-19Do not name "repo" struct "remote" in push_http.cAmos King1-76/+76
2009-03-17Merge branch 'js/remote-improvements'Junio C Hamano1-70/+2
2009-03-15Fix various dead stores found by the clang static analyzerBenjamin Kramer1-1/+1
2009-02-26move duplicated ref_newer() to remote.cJay Soffian1-49/+0
2009-02-26move duplicated get_local_heads() to remote.cJay Soffian1-21/+2
2009-02-15Merge branch 'rc/http-push'Junio C Hamano1-2/+11
2009-02-15use a hash of the lock token as the suffix for PUT/MOVETay Ray Chuan1-2/+11
2009-02-05Merge branch 'rc/http-push'Junio C Hamano1-37/+30
2009-02-05Merge branch 'lt/maint-wrap-zlib' into maintJunio C Hamano1-4/+4
2009-02-03http-push: wrap signature of get_remote_object_urlTay Ray Chuan1-1/+2
2009-02-03http-push: add back underscore separator before lock tokenTay Ray Chuan1-0/+1
2009-02-02http-push.c: get_remote_object_url() is only used under USE_CURL_MULTIJunio C Hamano1-7/+8
2009-01-31Merge branch 'sp/runtime-prefix'Junio C Hamano1-0/+2
2009-01-31Merge branch 'jk/signal-cleanup'Junio C Hamano1-5/+3
2009-01-31http-push: refactor request url creationTay Ray Chuan1-37/+27
2009-01-26Add calls to git_extract_argv0_path() in programs that call git_config_*Steffen Prohaska1-0/+2
2009-01-25http-push.c: style fixesJunio C Hamano1-4/+5
2009-01-23http-push: refactor lock-related headers creation for curl requestsRay Chuan1-29/+39
2009-01-21refactor signal handling for cleanup functionsJeff King1-4/+1
2009-01-21chain kill signals for cleanup functionsJeff King1-5/+6
2009-01-21Merge branch 'lt/maint-wrap-zlib'Junio C Hamano1-4/+4
2009-01-17http-push: when making directories, have a trailing slash in the path nameJohannes Schindelin1-2/+3
2009-01-17http-push: fix off-by-path_lenJohannes Schindelin1-3/+7
2009-01-11Wrap inflate and other zlib routines for better error reportingLinus Torvalds1-4/+4
2008-12-24http-push: support full URI in handle_remote_ls_ctx()Kirill A. Korinskiy1-6/+19
2008-12-21Remove the requirement opaquelocktoken uri schemeKirill A. Korinskiy1-8/+6
2008-10-18make alloc_ref_from_str() the new alloc_ref()René Scharfe1-2/+2
2008-10-02fix openssl headers conflicting with custom SHA1 implementationsNicolas Pitre1-5/+5
2008-09-09Use xmalloc() and friends to catch allocation failuresDotan Barak1-1/+1
2008-07-13Make usage strings dash-lessStephan Beyer1-1/+1
2008-06-24move show_pack_info() where it belongsNicolas Pitre1-1/+1
2008-06-08http-push.c: remove duplicated codeJunio C Hamano1-26/+3
2008-05-31rollback lock files on more signals than just SIGINTPaolo Bonzini1-0/+1
2008-05-25http-push: remove remote locks on exit signalsClemens Buchacher1-0/+22
2008-05-11alloc_ref_from_str(): factor out a common pattern of alloc_ref from stringKrzysztof Kowalczyk1-4/+2
2008-04-26Make walker.fetch_ref() take a struct ref.Daniel Barkalow1-16/+19
2008-03-02Merge branch 'mh/maint-http-proxy-fix'Junio C Hamano1-1/+1
2008-03-02Merge branch 'cb/http-test'Junio C Hamano1-5/+12
2008-02-27http-push: push <remote> :<branch> deletes remote branchClemens Buchacher1-5/+12
2008-02-27Set proxy override with http_init()Mike Hommey1-1/+1
2008-02-22Avoid unnecessary "if-before-free" tests.Jim Meyering1-12/+6
2008-02-20Merge branch 'js/maint-http-push'Junio C Hamano1-9/+18
2008-02-17check return code of prepare_revision_walkMartin Koegler1-1/+2
2008-02-15http-push: avoid a needless gotoJohannes Schindelin1-4/+1
2008-02-15http-push: do not get confused by submodulesJohannes Schindelin1-4/+11
2008-02-15http-push: avoid invalid memory accessesJohannes Schindelin1-1/+6
2008-01-20http-push and http-fetch: handle URLs without trailing /Grégoire Barbier1-0/+11
2008-01-20http-push: clarify the reason of error from the initial PROPFIND requestJunio C Hamano1-2/+9
2008-01-20http-push: fail when info/refs exists and is already lockedGrégoire Barbier1-0/+5
2008-01-20http-push: fix webdav lock leak.Grégoire Barbier1-5/+8
2008-01-18http-push: disable http-push without USE_CURL_MULTIGrégoire Barbier1-0/+4
2007-12-30Fix double-free() in http-push.c:remote_exists()Grégoire Barbier1-2/+0
2007-12-14Move fetch_ref from http-push.c and http-walker.c to http.cMike Hommey1-84/+4
2007-12-14Fix various memory leaks in http-push.c and http-walker.cMike Hommey1-13/+20
2007-12-14Use strbuf in http codeMike Hommey1-126/+61
2007-12-14Remove the default_headers variable from http-push.cMike Hommey1-7/+0
2007-12-14Fix random sha1 in error message in http-fetch and http-pushMike Hommey1-2/+3
2007-12-14Fix some more memory leaks in http-push.cMike Hommey1-2/+11
2007-12-12Fix XML parser leaks in http-pushMike Hommey1-6/+9
2007-11-25Print the real filename that we failed to open.André Goddard Rosa1-2/+2
2007-11-09Teach send-pack a mirror modeAndy Whitcroft1-2/+2
2007-11-09Merge master into aw/mirror-pushJunio C Hamano1-5/+10
2007-11-03errors: "strict subset" -> "ancestor"J. Bruce Fields1-5/+10
2007-11-02Miscellaneous const changes and utilitiesDaniel Barkalow1-1/+1
2007-10-16Support 'push --dry-run' for http transportShawn O. Pearce1-3/+10
2007-10-16Merge branch 'master' into db/fetch-packShawn O. Pearce1-7/+2
2007-09-19Modularize commit-walkerDaniel Barkalow1-1/+0
2007-09-19Make function to refill http queue a callbackDaniel Barkalow1-1/+2
2007-09-19Refactor http.h USE_CURL_MULTI fill_active_slots().Daniel Barkalow1-17/+6
2007-09-18Use xmemdupz() in many places.Pierre Habouzit1-7/+2
2007-06-07War on whitespaceJunio C Hamano1-1/+1
2007-05-20Move refspec parser from connect.c and cache.h to remote.{c,h}Daniel Barkalow1-0/+1
2007-04-05Fix lseek(2) calls with args 2 and 3 swappedDana How1-1/+1
2007-03-21Initialize tree descriptors with a helper function rather than by hand.Linus Torvalds1-2/+1
2007-03-02Merge branch 'maint'Junio C Hamano1-3/+7
2007-03-02Another memory overrun in http-push.cEygene Ryabinkin1-3/+7
2007-02-28Merge branch 'maint'Junio C Hamano1-1/+1
2007-02-28http-push.c::lock_remote(): validate all remote refs.Eygene Ryabinkin1-1/+1
2007-02-27convert object type handling from a string to a numberNicolas Pitre1-3/+3
2007-02-20prefixcmp(): fix-up leftover strncmp().Junio C Hamano1-1/+1
2007-02-20Mechanical conversion to use prefixcmp()Junio C Hamano1-4/+4
2007-01-28Don't force everybody to call setup_ident().Junio C Hamano1-1/+0
2007-01-09Don't die in git-http-fetch when fetching packs.Shawn O. Pearce1-0/+3
2007-01-08short i/o: fix calls to write to use xwrite or write_in_fullAndy Whitcroft1-1/+1
2007-01-08short i/o: fix calls to read to use xread or read_in_fullAndy Whitcroft1-1/+1
2006-09-20Tell between packed, unpacked and symbolic refs.Junio C Hamano1-1/+1
2006-09-20Add callback data to for_each_ref() family.Junio C Hamano1-2/+2
2006-09-02Replace uses of strdup with xstrdup.Shawn Pearce1-3/+3
2006-08-27free(NULL) is perfectly valid.Junio C Hamano1-9/+4
2006-08-26Merge branch 'gl/cleanup'Junio C Hamano1-4/+4
2006-08-23missing 'static' keywordsPierre Habouzit1-1/+1
2006-08-23Convert memset(hash,0,20) to hashclr(hash).Junio C Hamano1-1/+1
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-3/+3
2006-08-17Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length.David Rientjes1-2/+2
2006-08-15remove unnecessary initializationsDavid Rientjes1-8/+8
2006-08-14http-push.c cleanupDavid Rientjes1-4/+1
2006-08-12Merge branch 'js/http-mb'Junio C Hamano1-42/+7
2006-08-09http-push: Make WebDAV work with (broken?) default apache2 WebDAV moduleRutger Nijlunsing1-1/+1
2006-08-04http-push: avoid fork() by calling merge_bases() directlyJohannes Schindelin1-42/+7
2006-07-28Call setup_git_directory() earlyLinus Torvalds1-1/+1
2006-07-12Remove TYPE_* constant macros and use object_type enums consistently.Linus Torvalds1-6/+6
2006-07-03Make zlib compression level configurable, and change default.Joachim B Haga1-1/+1
2006-06-28Make some strings constTimo Hirvonen1-2/+2
2006-06-24Rename safe_strncpy() to strlcpy().Peter Eriksen1-3/+3
2006-06-21Merge branch 'ff/c99' into nextJunio C Hamano1-1/+1
2006-06-20Remove all void-pointer arithmetic.Florian Forster1-1/+1
2006-06-19Merge branch 'lt/objlist' into nextJunio C Hamano1-9/+19
2006-06-19Add "named object array" conceptLinus Torvalds1-9/+19
2006-06-18Remove ranges from switch statements.Florian Forster1-6/+7
2006-06-17Shrink "struct object" a bitLinus Torvalds1-6/+6
2006-06-16Implement safe_strncpy() as strlcpy() and use it more.Peter Eriksen1-5/+5
2006-06-06HTTP cleanupJunio C Hamano1-34/+36
2006-06-06HTTP cleanupNick Hengeveld1-0/+8
2006-05-30tree_entry(): new tree-walking helper functionLinus Torvalds1-11/+5
2006-05-29Remove "tree->entries" tree-entry list from tree parserLinus Torvalds1-10/+20
2006-05-29Make "tree_entry" have a SHA1 instead of a union of object pointersLinus Torvalds1-2/+2
2006-04-18Merge branch 'lt/logopt'Junio C Hamano1-0/+1