aboutsummaryrefslogtreecommitdiffstats
path: root/fetch-pack.c
AgeCommit message (Expand)AuthorFilesLines
2018-06-14fetch-pack: split up everything_local()Jonathan Tan1-9/+30
2018-06-11fetch-pack: don't try to fetch peel values with --allJeff King1-4/+4
2018-05-30Merge branch 'jt/partial-clone-proto-v2'Junio C Hamano1-4/+19
2018-05-23Merge branch 'bw/server-options'Junio C Hamano1-0/+7
2018-05-18path.c: migrate global git_path_* to take a repository argumentStefan Beller1-1/+1
2018-05-18shallow: add repository argument to is_repository_shallowStefan Beller1-2/+2
2018-05-18shallow: add repository argument to register_shallowStefan Beller1-1/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-08Merge branch 'bw/protocol-v2'Junio C Hamano1-6/+333
2018-05-06{fetch,upload}-pack: support filter in protocol v2Jonathan Tan1-4/+19
2018-05-02Merge branch 'bw/protocol-v2' into jt/partial-clone-proto-v2Junio C Hamano1-6/+333
2018-04-24fetch: send server options when using protocol v2Brandon Williams1-0/+7
2018-04-24Merge branch 'bw/protocol-v2' into HEADJunio C Hamano1-6/+333
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2018-04-11Merge branch 'sb/packfiles-in-repository'Junio C Hamano1-1/+2
2018-04-10Merge branch 'ti/fetch-everything-local-optim'Junio C Hamano1-3/+42
2018-03-26packfile: add repository argument to reprepare_packed_gitStefan Beller1-1/+2
2018-03-15fetch-pack: support shallow requestsBrandon Williams1-1/+70
2018-03-15fetch-pack: perform a fetch using v2Brandon Williams1-6/+264
2018-03-15fetch-pack: do not check links for partial fetchJonathan Tan1-2/+11
2018-03-14fetch-pack.c: use oidset to check existence of loose objectTakuto Ikuta1-3/+42
2018-02-27Merge branch 'js/packet-read-line-check-null'Junio C Hamano1-2/+2
2018-02-13Merge branch 'jh/partial-clone'Junio C Hamano1-0/+17
2018-02-13Merge branch 'jh/fsck-promisors'Junio C Hamano1-21/+27
2018-02-08correct error messages for NULL packet_read_line()Jeff King1-2/+2
2017-12-08fetch-pack: restore save_commit_buffer after useJonathan Tan1-0/+4
2017-12-08fetch-pack, index-pack, transport: partial cloneJeff Hostetler1-0/+13
2017-12-06Merge branch 'jk/fewer-pack-rescan'Junio C Hamano1-1/+2
2017-12-05introduce fetch-object: fetch one promisor objectJonathan Tan1-21/+27
2017-11-21everything_local: use "quick" object existence checkJeff King1-1/+2
2017-10-01oidmap: map with OID as keyJonathan Tan1-1/+1
2017-08-23pack: move {,re}prepare_packed_git and approximate_object_countJonathan Tan1-0/+1
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-05-30Merge branch 'jt/fetch-allow-tip-sha1-implicitly'Junio C Hamano1-2/+38
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-48/+49
2017-05-16Merge branch 'js/larger-timestamps'Junio C Hamano1-4/+4
2017-05-16fetch-pack: always allow fetching of literal SHA1sJonathan Tan1-2/+38
2017-05-08object: convert parse_object* to take struct object_idbrian m. carlson1-7/+7
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-1/+1
2017-05-08shallow: convert shallow registration functions to object_idbrian m. carlson1-2/+2
2017-05-02fetch-pack: convert to struct object_idbrian m. carlson1-44/+45
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-3/+3
2017-04-23Merge branch 'dt/xgethostname-nul-termination'Junio C Hamano1-2/+2
2017-04-23Merge branch 'jt/fetch-pack-error-reporting'Junio C Hamano1-0/+2
2017-04-23PRItime: introduce a new "printf format" for timestampsJohannes Schindelin1-1/+1
2017-04-18xgethostname: handle long hostnamesDavid Turner1-1/+1
2017-04-18use HOST_NAME_MAX to size buffers for gethostname(2)René Scharfe1-1/+1
2017-04-17fetch-pack: show clearer error message upon ERRJonathan Tan1-0/+2
2017-03-31Rename sha1_array to oid_arraybrian m. carlson1-13/+13
2017-03-31Make sha1_array_append take a struct object_id *brian m. carlson1-4/+4
2017-03-28sha1-array: convert internal storage for struct sha1_array to object_idbrian m. carlson1-6/+6
2017-03-14Merge branch 'mm/fetch-show-error-message-on-unadvertised-object'Junio C Hamano1-13/+38
2017-03-02fetch-pack: add specific error for fetching an unadvertised objectMatt McCutchen1-15/+27
2017-03-02fetch-pack: move code to report unmatched refs to a functionMatt McCutchen1-0/+13
2017-02-08fetch-pack: cache results of for_each_alternate_refJeff King1-10/+42
2017-02-08for_each_alternate_ref: pass name/oid instead of ref structJeff King1-4/+8
2016-11-11fetch-pack.c: correct command at the beginning of an error messageRalf Thielow1-1/+1
2016-10-10Merge branch 'nd/shallow-deepen'Junio C Hamano1-73/+96
2016-10-10Merge branch 'rs/qsort'Junio C Hamano1-1/+1
2016-09-29use QSORTRené Scharfe1-1/+1
2016-09-23fetch-pack: do not reset in_vain on non-novel acksJonathan Tan1-2/+9
2016-07-19fetch-pack: grow stateless RPC windows exponentiallyJonathan Tan1-7/+12
2016-06-13fetch, upload-pack: --deepen=N extends shallow boundary by N commitsNguyễn Thái Ngọc Duy1-0/+3
2016-06-13fetch: define shallow boundary with --shallow-excludeNguyễn Thái Ngọc Duy1-1/+14
2016-06-13fetch: define shallow boundary with --shallow-sinceNguyễn Thái Ngọc Duy1-1/+11
2016-06-13fetch-pack: use a separate flag for fetch in deepening modeNguyễn Thái Ngọc Duy1-6/+8
2016-06-13fetch-pack.c: mark strings for translatingNguyễn Thái Ngọc Duy1-38/+37
2016-06-13fetch-pack: use a common function for verbose printingNguyễn Thái Ngọc Duy1-46/+42
2016-04-20fetch-pack: isolate sigpipe in demuxer threadJeff King1-3/+1
2016-02-25fetch-pack: ignore SIGPIPE in sideband demuxerJeff King1-1/+5
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