aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/index-pack.c
AgeCommit message (Expand)AuthorFilesLines
2021-10-31i18n: fix typos found during l10n for git 2.34.0Jiang Xin1-1/+1
2021-10-25Merge branch 'ab/fsck-unexpected-type'Junio C Hamano1-1/+1
2021-10-01fsck: report invalid object type-path combinationsÆvar Arnfjörð Bjarmason1-1/+1
2021-09-23Merge branch 'rs/use-xopen-in-index-pack'Junio C Hamano1-3/+1
2021-09-20Merge branch 'ab/unbundle-progress'Junio C Hamano1-0/+6
2021-09-20Merge branch 'tb/pack-finalize-ordering'Junio C Hamano1-25/+23
2021-09-10index-pack: use xopen in init_threadRené Scharfe1-3/+1
2021-09-09builtin/index-pack.c: move `.idx` files into place lastTaylor Blau1-2/+2
2021-09-09index-pack: refactor renaming in final()Ævar Arnfjörð Bjarmason1-25/+23
2021-09-07index-pack: add --progress-title optionÆvar Arnfjörð Bjarmason1-0/+6
2021-08-25use xopen() to handle fatal open(2) failuresRené Scharfe1-6/+2
2021-07-12*.c static functions: don't forward-declare __attribute__Ævar Arnfjörð Bjarmason1-3/+1
2021-04-27Use the final_oid_fn to finalize hashing of object IDsbrian m. carlson1-1/+1
2021-04-27Always use oidread to read into struct object_idbrian m. carlson1-2/+2
2021-04-07Merge branch 'ab/fsck-api-cleanup'Junio C Hamano1-25/+5
2021-03-28fetch-pack: use new fsck API to printing dangling submodulesÆvar Arnfjörð Bjarmason1-20/+1
2021-03-28fetch-pack: don't needlessly copy fsck_optionsÆvar Arnfjörð Bjarmason1-7/+3
2021-03-28fsck.c: pass along the fsck_msg_id in the fsck_error callbackÆvar Arnfjörð Bjarmason1-1/+2
2021-03-28fsck.h: move FSCK_{FATAL,INFO,ERROR,WARN,IGNORE} into an enumÆvar Arnfjörð Bjarmason1-1/+2
2021-03-28fsck.h: use "enum object_type" instead of "int"Ævar Arnfjörð Bjarmason1-1/+2
2021-03-13use CALLOC_ARRAYRené Scharfe1-5/+5
2021-03-01Merge branch 'jt/transfer-fsck-across-packs'Junio C Hamano1-2/+23
2021-02-22fetch-pack: print and use dangling .gitmodulesJonathan Tan1-2/+23
2021-01-25t: support GIT_TEST_WRITE_REV_INDEXTaylor Blau1-1/+4
2021-01-25builtin/index-pack.c: write reverse indexesTaylor Blau1-3/+47
2021-01-25builtin/index-pack.c: allow stripping arbitrary extensionsTaylor Blau1-8/+8
2021-01-04object-file.c: rename from sha1-file.cMartin Ågren1-1/+1
2020-11-16compute pack .idx byte offsets using size_tJeff King1-1/+1
2020-10-08Merge branch 'jk/index-pack-hotfixes'Junio C Hamano1-17/+12
2020-10-07index-pack: make get_base_data() comment clearerJonathan Tan1-11/+8
2020-10-07index-pack: drop type_cas mutexJeff King1-6/+0
2020-10-07index-pack: restore "resolving deltas" progress meterJeff King1-0/+4
2020-09-22Merge branch 'jt/threaded-index-pack'Junio C Hamano1-206/+250
2020-09-08index-pack: make quantum of work smallerJonathan Tan1-148/+200
2020-08-24index-pack: make resolve_delta() assume base dataJonathan Tan1-3/+5
2020-08-24index-pack: calculate {ref,ofs}_{first,last} earlyJonathan Tan1-63/+60
2020-08-24index-pack: remove redundant child fieldJonathan Tan1-19/+22
2020-08-24index-pack: unify threaded and unthreaded codeJonathan Tan1-9/+1
2020-08-24index-pack: remove redundant parameterJonathan Tan1-14/+12
2020-08-21index-pack: adjust default threading capJeff King1-3/+16
2020-06-19builtin/index-pack: add option to specify hash algorithmbrian m. carlson1-0/+8
2020-05-27packfile: compute and use the index CRC offsetbrian m. carlson1-5/+1
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