aboutsummaryrefslogtreecommitdiffstats
path: root/fetch-pack.c
AgeCommit message (Expand)AuthorFilesLines
2015-11-20Remove get_object_hash.brian m. carlson1-2/+2
2015-11-20Convert struct object to object_idbrian m. carlson1-1/+1
2015-11-20Add several uses of get_object_hash.brian m. carlson1-2/+2
2015-11-20Convert struct ref to use object_id.brian m. carlson1-9/+9
2015-10-05fetch-pack: use argv_array for index-pack / unpack-objectsJeff King1-29/+27
2015-08-10memoize common git-path "constant" filesJeff King1-1/+1
2015-07-01Merge branch 'me/fetch-into-shallow-safety'Junio C Hamano1-1/+1
2015-06-17fetch-pack: check for shallow if depth givenMike Edgar1-1/+1
2015-06-05Merge branch 'bc/object-id'Junio C Hamano1-8/+21
2015-05-25rev_list_insert_ref(): remove unneeded argumentsMichael Haggerty1-3/+3
2015-05-25rev_list_insert_ref_oid(): new function, taking an object_oidMichael Haggerty1-3/+7
2015-05-25mark_complete(): remove unneeded argumentsMichael Haggerty1-3/+3
2015-05-25mark_complete_oid(): new function, taking an object_oidMichael Haggerty1-4/+7
2015-05-25clear_marks(): rewrite to take an object_id argumentMichael Haggerty1-8/+5
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-4/+13
2015-05-22upload-pack: optionally allow fetching reachable sha1Fredrik Medley1-1/+9
2015-05-22upload-pack: prepare to extend allow-tip-sha1-in-wantFredrik Medley1-3/+6
2015-03-19fetch-pack: remove dead assignment to ref->new_sha1Jeff King1-3/+0
2015-03-19filter_ref: make a copy of extra "sought" entriesJeff King1-3/+2
2015-03-19filter_ref: avoid overwriting ref->old_sha1 with garbageJeff King1-1/+5
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-0/+1
2014-09-11Merge branch 'rs/child-process-init'Junio C Hamano1-2/+1
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-2/+1
2014-08-07fetchpack.c: replace `git_config()` with `git_config_get_*()` familyTanay Abhra1-27/+8
2014-07-09Merge branch 'jk/skip-prefix'Junio C Hamano1-10/+14
2014-06-20fetch-pack: refactor parsing in get_ackJeff King1-6/+9
2014-06-20use skip_prefix to avoid magic numbersJeff King1-4/+5
2014-06-09Use starts_with() for C strings instead of memcmp()René Scharfe1-1/+1
2014-04-03Merge branch 'nd/log-show-linear-break'Junio C Hamano1-0/+1
2014-03-25object.h: centralize object flag allocationNguyễn Thái Ngọc Duy1-0/+1
2014-03-21Merge branch 'jk/shallow-update-fix'Junio C Hamano1-11/+0
2014-02-27shallow: automatically clean up shallow tempfilesJeff King1-11/+0
2014-02-10fetch-pack: fix deepen shallow over smart http with no-done capNguyễn Thái Ngọc Duy1-1/+2
2014-01-27Merge branch 'jk/allow-fetch-onelevel-refname'Junio C Hamano1-1/+1
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-12/+119
2014-01-15fetch-pack: do not filter out one-level refsJeff King1-1/+1
2014-01-06shallow: remove unused codeRamsay Jones1-1/+0
2013-12-17Merge branch 'cc/starts-n-ends-with'Junio C Hamano1-6/+6
2013-12-10fetch: add --update-shallow to accept refs that update .git/shallowNguyễn Thái Ngọc Duy1-0/+27
2013-12-10fetch: support fetching from a shallow repositoryNguyễn Thái Ngọc Duy1-2/+30
2013-12-10clone: support remote shallow repositoryNguyễn Thái Ngọc Duy1-3/+51
2013-12-10fetch-pack.c: move shallow update code out of fetch_pack()Nguyễn Thái Ngọc Duy1-9/+13
2013-12-10shallow.c: extend setup_*_shallow() to accept extra shallow commitsNguyễn Thái Ngọc Duy1-2/+3
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-6/+6
2013-12-05Merge branch 'jk/robustify-parse-commit'Junio C Hamano1-5/+3
2013-10-30Merge branch 'jl/pack-transfer-avoid-double-close'Junio C Hamano1-0/+4
2013-10-24assume parse_commit checks commit->object.parsedJeff King1-5/+3
2013-10-23Merge branch 'nd/fetch-into-shallow' into maintJunio C Hamano1-52/+1
2013-10-23Clear fd after closing to avoid double-close errorJens Lindstrom1-0/+4
2013-09-24Merge branch 'nd/fetch-pack-error-reporting-fix'Jonathan Nieder1-5/+5
2013-09-20Merge branch 'nd/fetch-into-shallow'Junio C Hamano1-52/+1
2013-09-18fetch-pack.c: show correct command name that failsNguyễn Thái Ngọc Duy1-5/+5
2013-09-09Merge branch 'jc/push-cas'Junio C Hamano1-0/+1
2013-09-05Merge branch 'nd/fetch-pack-shallow-fix' into maintJunio C Hamano1-1/+3
2013-08-30Merge branch 'nd/fetch-pack-shallow-fix'Junio C Hamano1-1/+3
2013-08-25fetch-pack: do not remove .git/shallow file when --depth is not specifiedNguyễn Thái Ngọc Duy1-1/+3
2013-08-18move setup_alternate_shallow and write_shallow_commits to shallow.cNguyễn Thái Ngọc Duy1-52/+1
2013-07-08cache.h: move remote/connect API out of itJunio C Hamano1-0/+1
2013-07-02fetch-pack: avoid quadratic behavior in rev_list_pushJeff King1-7/+6
2013-07-02fetch-pack: avoid quadratic list insertion in mark_completeJeff King1-1/+2
2013-05-28clone: open a shortcut for connectivity checkNguyễn Thái Ngọc Duy1-1/+10
2013-05-28fetch-pack: prepare updated shallow file before fetching the packNguyễn Thái Ngọc Duy1-36/+37
2013-04-01Merge branch 'jk/pkt-line-cleanup'Junio C Hamano1-9/+9
2013-03-21Merge branch 'jc/fetch-raw-sha1'Junio C Hamano1-32/+69
2013-02-20pkt-line: provide a LARGE_PACKET_MAX static bufferJeff King1-6/+6
2013-02-20pkt-line: teach packet_read_line to chomp newlinesJeff King1-2/+0
2013-02-20pkt-line: drop safe_write functionJeff King1-1/+1
2013-02-20fetch-pack: fix out-of-bounds buffer offset in get_ackJeff King1-0/+2
2013-02-07fetch: fetch objects by their exact SHA-1 object namesJunio C Hamano1-1/+21
2013-02-07fetch: use struct ref to represent refs to be fetchedJunio C Hamano1-31/+48
2013-02-01Merge branch 'jk/gc-auto-after-fetch'Junio C Hamano1-0/+3
2013-01-26Merge branch 'jk/maint-gc-auto-after-fetch' into jk/gc-auto-after-fetchJunio C Hamano1-0/+3
2013-01-03Merge branch 'mk/qnx'Junio C Hamano1-2/+1
2012-10-29fetch-pack: move core code to libgit.aNguyễn Thái Ngọc Duy1-0/+951
2007-09-19Make fetch-pack a builtin with an internal APIDaniel Barkalow1-789/+0
2007-06-07War on whitespaceJunio C Hamano1-1/+1
2007-05-16connect: display connection progressMichael S. Tsirkin1-1/+1
2007-03-04Merge branch 'js/fetch-progress' (early part)Junio C Hamano1-3/+9
2007-02-24Fixup no-progress for fetch & cloneJohannes Schindelin1-7/+3
2007-02-20prefixcmp(): fix-up mechanical conversion.Junio C Hamano1-5/+5
2007-02-20Mechanical conversion to use prefixcmp()Junio C Hamano1-6/+6
2007-02-19fetch & clone: do not output progress when not on a ttyJohannes Schindelin1-3/+13
2007-01-28Don't force everybody to call setup_ident().Junio C Hamano1-1/+0
2007-01-24Consolidate {receive,fetch}.unpackLimitJunio C Hamano1-1/+13
2007-01-24fetch-pack: remove --keep-auto and make it the default.Junio C Hamano1-14/+17
2007-01-24Allow fetch-pack to decide keeping the fetched pack without explodingJunio C Hamano1-32/+59
2007-01-24rename --exec to --upload-pack for fetch-pack and peek-remoteUwe Kleine-König1-4/+8
2007-01-19Update documentation of fetch-pack, push and send-packUwe Kleine-König1-1/+1
2007-01-02fetch-pack: do not use lockfile structure on stack.Junio C Hamano1-1/+2
2006-12-27Merge branch 'master' into js/shallowJunio C Hamano1-1/+25
2006-12-20simplify inclusion of system header files.Junio C Hamano1-1/+0
2006-11-25fetch-pack: do not barf when duplicate re patterns are givenJunio C Hamano1-0/+25
2006-11-24fetch-pack: Do not fetch tags for shallow clones.Alexandre Julliard1-1/+2
2006-11-24fetch-pack: Properly remove the shallow file when it becomes empty.Alexandre Julliard1-1/+1
2006-11-24Why does it mean we do not have to register shallow if we have one?Junio C Hamano1-3/+0
2006-11-24We should make sure that the protocol is still extensible.Junio C Hamano1-4/+7
2006-11-24allow deepening of a shallow repositoryJohannes Schindelin1-6/+16
2006-11-24allow cloning a repository "shallowly"Johannes Schindelin1-1/+60
2006-11-24support fetching into a shallow repositoryJohannes Schindelin1-0/+4
2006-11-03improve fetch-pack's handling of kept packsNicolas Pitre1-7/+103
2006-11-03Merge branch 'master' into np/index-packJunio C Hamano1-4/+4
2006-11-01Merge branch 'lj/refs'Junio C Hamano1-4/+4
2006-10-27enhance clone and fetch -k experienceNicolas Pitre1-2/+0
2006-09-27let the GIT native protocol use offsets to delta base when possibleNicolas Pitre1-2/+3
2006-09-20Tell between packed, unpacked and symbolic refs.Junio C Hamano1-2/+2
2006-09-20Add callback data to for_each_ref() family.Junio C Hamano1-4/+4
2006-09-17Merge branch 'jc/archive'Junio C Hamano1-3/+9
2006-09-13Test return value of finish_connect()Franck Bui-Huu1-2/+2
2006-09-10Prepare larger packet buffer for upload-pack protocol.Junio C Hamano1-3/+9
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-1/+1
2006-08-15remove unnecessary initializationsDavid Rientjes1-3/+3
2006-07-12Remove TYPE_* constant macros and use object_type enums consistently.Linus Torvalds1-5/+5
2006-06-21upload-pack/fetch-pack: support side-band communicationJunio C Hamano1-6/+16
2006-06-17Shrink "struct object" a bitLinus Torvalds1-5/+5
2006-05-24fetch-pack: give up after getting too many "ack continue"Junio C Hamano1-0/+16
2006-05-22fetch-pack: output refs in the order they were given on the command line.Junio C Hamano1-15/+51
2006-03-20revamp git-clone.Junio C Hamano1-4/+14
2006-02-26Use setenv(), fix warningsTimo Hirvonen1-1/+1
2006-02-20Use thin pack transfer in "git fetch".Junio C Hamano1-4/+11
2006-02-10Make "git clone" less of a deathly quiet experienceLinus Torvalds1-1/+1
2006-01-19git-fetch-pack: really do not ask for funny refsJohannes Schindelin1-3/+0
2005-12-18clone-pack: remove unused and undocumented --keep flagJunio C Hamano1-2/+2
2005-12-17fetch-pack: -k option to keep downloaded pack.Junio C Hamano1-37/+21
2005-11-28Make networking commands to work from a subdirectory.Junio C Hamano1-0/+2
2005-11-06git-fetch: fail if specified refspec does not match remote.Junio C Hamano1-0/+14
2005-11-02Be careful when dereferencing tags.Junio C Hamano1-3/+4
2005-10-28git-fetch-pack: Support multi_ack extensionJohannes Schindelin1-16/+42
2005-10-28Make maximal use of the remote refsJohannes Schindelin1-20/+52
2005-10-28Subject: [PATCH] git-fetch-pack: Do not use git-rev-listJohannes Schindelin1-32/+132
2005-10-25Revert recent fetch-pack/upload-pack updates.Junio C Hamano1-155/+44
2005-10-24git-fetch-pack: Implement client part of the multi_ack extensionJohannes Schindelin1-13/+37
2005-10-24git-fetch-pack: Do not use git-rev-listJohannes Schindelin1-32/+119
2005-10-19Be more careful tangling object chains while marking commits.Junio C Hamano1-4/+10
2005-10-19Do not feed rev-list an invalid SHA1 expression.Junio C Hamano1-9/+23
2005-10-19[PATCH] Do not send "want" lines for complete objectsJohannes Schindelin1-8/+25
2005-10-19Do not ask for objects known to be complete.Junio C Hamano1-2/+62
2005-10-18git-fetch-pack: avoid unnecessary zero packingLinus Torvalds1-6/+44
2005-10-15Ignore funny refname sent from remoteJunio C Hamano1-1/+1
2005-08-12fetch-pack: start multi-head pulling.Junio C Hamano1-16/+40
2005-07-16Merge three separate "fetch refs" functionsLinus Torvalds1-33/+17
2005-07-14[PATCH] Documentation: clone/fetch/upload.Junio C Hamano1-3/+8
2005-07-13Get rid of nasty utf-8 characters in printoutLinus Torvalds1-1/+1
2005-07-13git-fetch-pack: close output fd after dup'ing the inputLinus Torvalds1-1/+1
2005-07-05Move "get_ack()" to common git_connect functionsLinus Torvalds1-18/+0
2005-07-05Remove multi-head support from fetch-packLinus Torvalds1-38/+3
2005-07-05Add "git_path()" and "head_ref()" helper functions.Linus Torvalds1-5/+1
2005-07-04Make git-fetch-pack actually do all the unpacking etc.Linus Torvalds1-14/+48
2005-07-04Make git-fetch-pack and git-upload-pack negotiate needs/haves fullyLinus Torvalds1-9/+62
2005-07-04Commit first cut at "git-fetch-pack"Linus Torvalds1-0/+125