aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/index-pack.c
AgeCommit message (Expand)AuthorFilesLines
2020-04-02promisor-remote: accept 0 as oid_nr in functionJonathan Tan1-3/+2
2020-02-14Merge branch 'jk/index-pack-dupfix'Junio C Hamano1-1/+3
2020-02-04index-pack: downgrade twice-resolved REF_DELTA to die()Jeff King1-1/+3
2020-01-31sha1-file: allow check_object_signature() to handle any repoMatheus Tavares1-2/+3
2020-01-31sha1-file: pass git_hash_algo to hash_object_file()Matheus Tavares1-1/+1
2020-01-31streaming: allow open_istream() to handle any repoMatheus Tavares1-1/+2
2019-10-11Merge branch 'bc/object-id-part17'Junio C Hamano1-2/+2
2019-08-19builtin/index-pack: replace sha1_to_hexbrian m. carlson1-2/+2
2019-06-25Use promisor_remote_get_direct() and has_promisor_remote()Christian Couder1-4/+4
2019-05-15index-pack: prefetch missing REF_DELTA basesJonathan Tan1-2/+24
2019-04-01index-pack: show progress while checking objectsSZEDER Gábor1-1/+9
2019-01-08convert has_sha1_file() callers to has_object_file()Jeff King1-1/+1
2018-11-19Merge branch 'tb/print-size-t-with-uintmax-format'Junio C Hamano1-4/+5
2018-11-12Upcast size_t variables to uintmax_t when printingTorsten Bögershausen1-4/+5
2018-11-05index-pack: remove #ifdef NO_PTHREADSNguyễn Thái Ngọc Duy1-49/+14
2018-08-29convert "hashcmp() != 0" to "!hasheq()"Jeff King1-2/+2
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-2/+2
2018-08-15Merge branch 'jk/core-use-replace-refs'Junio C Hamano1-1/+1
2018-07-18check_replace_refs: rename to read_replace_refsJeff King1-1/+1
2018-06-29blob: add repository argument to lookup_blobStefan Beller1-1/+1
2018-06-29object: add repository argument to parse_object_bufferStefan Beller1-1/+2
2018-06-13Merge branch 'jk/index-pack-maint'Junio C Hamano1-2/+6
2018-06-11index-pack: correct install_packed_git() argsJunio C Hamano1-1/+1
2018-06-01index-pack: handle --strict checks of non-repo packsJeff King1-2/+6
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-1/+2
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-2/+2
2018-05-29Sync with Git 2.17.1Junio C Hamano1-1/+11
2018-05-23Merge branch 'sb/oid-object-info'Junio C Hamano1-2/+2
2018-05-21index-pack: check .gitmodules files with --strictJeff King1-0/+10
2018-05-21index-pack: make fsck error message more specificJeff King1-1/+1
2018-05-08Merge branch 'ds/commit-graph'Junio C Hamano1-1/+1
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-2/+2
2018-05-02index-pack: abstract away hash function constantbrian m. carlson1-1/+2
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-2/+2
2018-04-11sha1_file.c: rename to use dash in file nameStefan Beller1-1/+1
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-0/+1
2018-04-10Merge branch 'bc/object-id'Junio C Hamano1-21/+22
2018-04-02csum-file: rename hashclose() to finalize_hashfile()Derrick Stolee1-1/+1
2018-03-26object-store: move packed_git and packed_git_mru to object storeStefan Beller1-0/+1
2018-03-15index-pack: support checking objects but not linksJonathan Tan1-2/+4
2018-03-14Merge branch 'nd/object-allocation-comments'Junio C Hamano1-0/+1
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-2/+3
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-2/+2
2018-03-14streaming: convert open_istream to use struct object_idbrian m. carlson1-1/+1
2018-03-14sha1_file: convert check_sha1_signature to struct object_idbrian m. carlson1-1/+1
2018-03-14builtin/index-pack: convert struct ref_delta_entry to object_idbrian m. carlson1-17/+17
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-6/+6
2018-03-06object.h: update flag allocation commentNguyễn Thái Ngọc Duy1-0/+1
2018-02-15Merge branch 'bc/hash-algo'Junio C Hamano1-57/+57
2018-02-15Merge branch 'po/object-id'Junio C Hamano1-3/+2
2018-02-14object: rename function 'typename' to 'type_name'Brandon Williams1-6/+6
2018-02-13Merge branch 'jh/fsck-promisors'Junio C Hamano1-45/+66
2018-02-02csum-file: rename sha1file to hashfilebrian m. carlson1-10/+10
2018-02-02builtin/index-pack: improve hash function abstractionbrian m. carlson1-45/+45
2018-01-30sha1_file: convert hash_sha1_file to object_idPatryk Obara1-3/+2
2017-12-11index-pack: use skip_to_optional_arg()Christian Couder1-8/+3
2017-12-08sha1_file: support lazily fetching missing objectsJonathan Tan1-0/+6
2017-12-05introduce fetch-object: fetch one promisor objectJonathan Tan1-3/+13
2017-12-05index-pack: refactor writing of .keep filesJonathan Tan1-46/+53
2017-10-10cleanup: fix possible overflow errors in binary searchDerrick Stolee1-2/+2
2017-08-23pack: move pack name-related functionsJonathan Tan1-0/+1
2017-07-05Merge branch 'jt/unify-object-info'Junio C Hamano1-1/+2
2017-06-26sha1_file: refactor has_sha1_file_with_flagsJonathan Tan1-1/+2
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-4/+2
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-4/+2
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-05-08object: convert parse_object* to take struct object_idbrian m. carlson1-1/+2
2017-05-08Convert lookup_blob to struct object_idbrian m. carlson1-1/+1
2017-05-08Convert remaining callers of lookup_blob to object_idbrian m. carlson1-14/+14
2017-05-08pack: convert struct pack_idx_entry to struct object_idbrian m. carlson1-14/+19
2017-04-16Merge branch 'jk/loose-object-info-report-error'Junio C Hamano1-0/+2
2017-04-01index-pack: detect local corruption in collision checkJeff King1-0/+2
2017-03-30replace unchecked snprintf calls with heap buffersJeff King1-4/+5
2017-03-28odb_mkstemp: write filename into strbufJeff King1-3/+3
2017-03-28do not check odb_mkstemp return value for errorsJeff King1-3/+4
2017-03-16index-pack: make pointer-alias fallbacks saferJeff King1-8/+12
2017-03-16replace snprintf with odb_pack_name()Jeff King1-16/+11
2017-03-16odb_pack_keep(): stop generating keepfile nameJeff King1-3/+3
2016-12-16index-pack: skip collision check when not in repositoryJeff King1-4/+6
2016-12-16index-pack: complain when --stdin is used outside of a repoJeff King1-0/+2
2016-09-29use QSORT, part 2René Scharfe1-2/+1
2016-09-29use QSORTRené Scharfe1-5/+3
2016-08-24index-pack: add --max-input-size=<size> optionJeff King1-0/+5
2016-08-03Merge branch 'jk/push-progress'Junio C Hamano1-1/+9
2016-07-20receive-pack: send keepalives during quiet periodsJeff King1-0/+5
2016-07-20index-pack: add flag for showing delta-resolution progressJeff King1-1/+4
2016-07-13index-pack: correct "offset" type in unpack_entry_data()Nguyễn Thái Ngọc Duy1-1/+1
2016-07-13index-pack: report correct bad object offsets even if they are largeNguyễn Thái Ngọc Duy1-3/+4
2016-07-13index-pack: correct "len" type in unpack_data()Nguyễn Thái Ngọc Duy1-7/+7
2016-05-26Merge branch 'va/i18n-misc-updates' into maintJunio C Hamano1-1/+3
2016-05-17Merge branch 'va/i18n-misc-updates'Junio C Hamano1-1/+3
2016-04-14Merge branch 'jc/index-pack' into maintJunio C Hamano1-18/+17
2016-04-08i18n: index-pack: use plural string instead of normal oneVasco Almeida1-1/+3
2016-04-03Merge branch 'jc/index-pack'Junio C Hamano1-18/+17
2016-04-03Merge branch 'jc/maint-index-pack-keep'Junio C Hamano1-1/+1
2016-03-04Merge branch 'jk/pack-idx-corruption-safety'Junio C Hamano1-0/+1
2016-03-03index-pack: add a helper function to derive .idx/.keep filenameJunio C Hamano1-18/+17
2016-03-03Merge branch 'jc/maint-index-pack-keep' into jc/index-packJunio C Hamano1-1/+1
2016-03-03index-pack: correct --keep[=<msg>]Junio C Hamano1-1/+1
2016-02-25nth_packed_object_offset: bounds-check extended offsetJeff King1-0/+1
2016-02-22use st_add and st_mult for allocation size computationJeff King1-2/+2
2016-02-22convert trivial cases to ALLOC_ARRAYJeff King1-2/+2
2015-11-20Remove get_object_hash.brian m. carlson1-1/+1
2015-11-20Convert struct object to object_idbrian m. carlson1-4/+4
2015-11-20Add several uses of get_object_hash.brian m. carlson1-1/+1
2015-09-25use xsnprintf for generating git object headersJeff King1-1/+1
2015-08-19Merge branch 'jc/finalize-temp-file'Junio C Hamano1-2/+2
2015-08-10sha1_file.c: rename move_temp_to_file() to finalize_object_file()Junio C Hamano1-2/+2
2015-08-03Merge branch 'js/fsck-opt'Junio C Hamano1-4/+9
2015-07-27Merge branch 'jk/index-pack-reduce-recheck' into maintJunio C Hamano1-1/+1
2015-07-09Merge branch 'jc/fix-alloc-sortbuf-in-index-pack'Junio C Hamano1-8/+8
2015-07-04index-pack: fix allocation of sorted_by_pos arrayJunio C Hamano1-8/+8
2015-06-24Merge branch 'jk/index-pack-reduce-recheck'Junio C Hamano1-1/+1
2015-06-23fsck (receive-pack): allow demoting errors to warningsJohannes Schindelin1-0/+4
2015-06-22fsck: introduce fsck optionsJohannes Schindelin1-4/+5
2015-06-16Merge branch 'nd/slim-index-pack-memory-usage'Junio C Hamano1-2/+6
2015-06-09index-pack: avoid excessive re-reading of pack directoryJeff King1-1/+1
2015-06-04index-pack: fix truncation of off_t in comparisonJeff King1-2/+6
2015-05-11Merge branch 'nd/slim-index-pack-memory-usage'Junio C Hamano1-111/+179
2015-04-18index-pack: kill union delta_base to save memoryNguyễn Thái Ngọc Duy1-100/+160
2015-03-17Merge branch 'rs/deflate-init-cleanup'Junio C Hamano1-1/+0
2015-03-05zlib: initialize git_zstream in git_deflate_init{,_gzip,_raw}René Scharfe1-1/+0
2015-02-27index-pack: reduce object_entry size to save memoryNguyễn Thái Ngọc Duy1-11/+19
2014-12-22Merge branch 'js/fsck-tag-validation'Junio C Hamano1-2/+2
2014-12-09index-pack: terminate object buffers with NULDuy Nguyen1-2/+2
2014-10-13index-pack: fix compilation with NO_PTHREADSEtienne Buira1-0/+3
2014-09-26Merge branch 'rs/realloc-array'Junio C Hamano1-3/+1
2014-09-26Merge branch 'js/fsck-tag-validation'Junio C Hamano1-1/+2
2014-09-19Merge branch 'jk/index-pack-threading-races'Junio C Hamano1-2/+31
2014-09-18use REALLOC_ARRAY for changing the allocation size of arraysRené Scharfe1-3/+1
2014-09-10fsck_object(): allow passing object data separately from the object itselfJohannes Schindelin1-1/+2
2014-08-29index-pack: fix race condition with duplicate basesJeff King1-2/+31
2014-07-21Merge branch 'maint'Junio C Hamano1-2/+1
2014-07-21use xcalloc() to allocate zero-initialized memoryRené Scharfe1-2/+1
2014-07-16Merge branch 'jk/strip-suffix'Junio C Hamano1-15/+14
2014-07-16Merge branch 'jk/commit-buffer-length' into maintJunio C Hamano1-1/+2
2014-07-02Merge branch 'jk/commit-buffer-length'Junio C Hamano1-1/+2
2014-06-30index-pack: use strip_suffix to avoid magic numbersJeff King1-15/+14
2014-06-30replace has_extension with ends_withJeff King1-2/+2
2014-06-25Merge branch 'ym/fix-opportunistic-index-update-race' into maintJunio C Hamano1-1/+1
2014-06-25Merge branch 'jk/index-pack-report-missing' into maintJunio C Hamano1-2/+7
2014-06-25Merge branch 'nd/index-pack-one-fd-per-thread' into maintJunio C Hamano1-10/+17
2014-06-13commit: record buffer length in cacheJeff King1-1/+1
2014-06-13provide a helper to free commit bufferJeff King1-1/+2
2014-06-06Merge branch 'jk/index-pack-report-missing'Junio C Hamano1-2/+7
2014-06-03Merge branch 'nd/index-pack-one-fd-per-thread'Junio C Hamano1-10/+17
2014-06-03Merge branch 'ym/fix-opportunistic-index-update-race'Junio C Hamano1-1/+1
2014-05-12index-pack: distinguish missing objects from type errorsJeff King1-2/+7
2014-04-16index-pack: work around thread-unsafe pread()Nguyễn Thái Ngọc Duy1-10/+17
2014-04-10wrapper.c: add xpread() similar to xread()Yiannis Marangos1-1/+1
2014-04-03Merge branch 'nd/index-pack-error-message' into maintJunio C Hamano1-2/+2
2014-03-25Merge branch 'nd/index-pack-error-message'Junio C Hamano1-2/+2
2014-03-17index-pack: report error using the correct variableJunio C Hamano1-2/+2
2014-02-20rename read_replace_refs to check_replace_refsMichael Haggerty1-1/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-4/+4
2013-09-17Merge branch 'jk/free-tree-buffer'Junio C Hamano1-0/+1
2013-06-06clear parsed flag when we free tree buffersJeff King1-0/+1
2013-05-28clone: open a shortcut for connectivity checkNguyễn Thái Ngọc Duy1-9/+26
2013-05-28index-pack: remove dead code (it should never happen)Nguyễn Thái Ngọc Duy1-2/+1
2013-04-01Merge branch 'nd/index-pack-threaded-fixes'Junio C Hamano1-8/+26
2013-04-01Merge branch 'jk/index-pack-correct-depth-fix'Junio C Hamano1-0/+2
2013-03-20index-pack: always zero-initialize object_entry listJeff King1-0/+2
2013-03-19index-pack: guard nr_resolved_deltas reads by lockThomas Rast1-1/+3
2013-03-19index-pack: protect deepest_delta in multithread codeNguyễn Thái Ngọc Duy1-7/+23
2013-03-16index-pack: fix buffer overflow caused by translationsNguyễn Thái Ngọc Duy1-4/+5
2012-08-31i18n: mark more index-pack strings for translationNguyễn Thái Ngọc Duy1-10/+11
2012-07-15Merge branch 'jk/index-pack-streaming-fix'Junio C Hamano1-10/+13
2012-07-10index-pack: loop while inflating objects in unpack_dataJeff King1-10/+13
2012-07-09Merge branch 'rj/platform-pread-may-be-thread-unsafe'Junio C Hamano1-2/+2
2012-06-26index-pack: Disable threading on cygwinJunio C Hamano1-2/+2
2012-05-24index-pack: use streaming interface for collision test on large blobsNguyễn Thái Ngọc Duy1-5/+77
2012-05-23index-pack: factor out unpack core from get_data_from_packNguyễn Thái Ngọc Duy1-3/+24
2012-05-23index-pack: use streaming interface on large blobs (most of the time)Nguyễn Thái Ngọc Duy1-8/+44
2012-05-23index-pack: hash non-delta objects while reading from streamNguyễn Thái Ngọc Duy1-11/+30
2012-05-14Merge branch 'nd/threaded-index-pack'Junio C Hamano1-66/+275
2012-05-07index-pack: disable threading if NO_PREAD is definedNguyễn Thái Ngọc Duy1-0/+5
2012-05-07index-pack: support multithreaded delta resolvingNguyễn Thái Ngọc Duy1-11/+193
2012-05-07index-pack: restructure pack processing into three main functionsNguyễn Thái Ngọc Duy1-53/+75
2012-04-24i18n: index-pack: mark strings for translationNguyễn Thái Ngọc Duy1-57/+68
2012-01-16index-pack: eliminate unlimited recursion in get_base_data()Nguyễn Thái Ngọc Duy1-9/+44
2012-01-16index-pack: eliminate recursion in find_unresolved_deltasNguyễn Thái Ngọc Duy1-41/+70
2011-12-21Appease Sun Studio by renaming "tmpfile"Ævar Arnfjörð Bjarmason1-3/+3
2011-11-16receive-pack, fetch-pack: reject bogus pack that records objects twiceJunio C Hamano1-1/+3
2011-07-19Merge branch 'jc/index-pack'Junio C Hamano1-42/+208
2011-07-19Merge branch 'jc/zlib-wrap'Junio C Hamano1-6/+6
2011-06-10zlib: zlib can only process 4GB at a timeJunio C Hamano1-3/+3
2011-06-10zlib: wrap deflate side of the APIJunio C Hamano1-3/+3
2011-06-05index-pack: show histogram when emulating "verify-pack -v"Junio C Hamano1-3/+23
2011-06-05index-pack: start learning to emulate "verify-pack -v"Junio C Hamano1-3/+40
2011-06-05index-pack: a miniscule refactorJunio C Hamano1-3/+8
2011-04-11sparse: Fix an "symbol 'cmd_index_pack' not declared" warningRamsay Jones1-1/+1
2011-04-03sparse: Fix errors and silence warningsStephen Boyd1-1/+1
2011-03-22Fix sparse warningsStephen Boyd1-1/+1
2011-03-16standardize brace placement in struct definitionsJonathan Nieder1-4/+2
2011-02-27index-pack --verify: read anomalous offsets from v2 idx fileJunio C Hamano1-0/+48
2011-02-27index-pack: --verifyJunio C Hamano1-6/+40
2011-02-27write_idx_file: introduce a struct to hold idx customization optionsJunio C Hamano1-10/+13
2011-02-27index-pack: group the delta-base array entries also by typeJunio C Hamano1-21/+40