aboutsummaryrefslogtreecommitdiffstats
path: root/object-store.h
AgeCommit message (Expand)AuthorFilesLines
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-527/+1
2023-06-21khash: name the structs that khash declaresElijah Newren1-1/+1
2023-05-09Merge branch 'en/header-split-cache-h-part-2'Junio C Hamano1-4/+4
2023-04-25Merge branch 'ps/fix-geom-repack-with-alternates'Junio C Hamano1-0/+1
2023-04-24object-store.h: reduce unnecessary includesElijah Newren1-4/+4
2023-04-14repack: disable writing bitmaps when doing a local repackPatrick Steinhardt1-0/+1
2023-04-06Merge branch 'ab/remove-implicit-use-of-the-repository'Junio C Hamano1-9/+2
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-9/+2
2023-03-28post-cocci: adjust comments for recent repo_* migrationÆvar Arnfjörð Bjarmason1-2/+2
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-7/+0
2023-02-23object-store.h: move struct object_info from cache.hElijah Newren1-64/+64
2023-01-08repo_read_object_file(): stop wrapping read_object_file_extended()Jeff King1-13/+5
2023-01-08read_object_file_extended(): drop lookup_replace optionJeff King1-2/+2
2023-01-08object-file: inline calls to read_object()Jeff King1-1/+1
2022-12-15object-file: emit corruption errors when detectedJonathan Tan1-0/+3
2022-12-15object-file: remove OBJECT_INFO_IGNORE_LOOSEJonathan Tan1-3/+1
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-1/+1
2022-08-19hashmap: mark unused callback parametersJeff King1-1/+1
2022-06-13object-file.c: add "stream_loose_object()" to handle large objectHan Xin1-0/+8
2022-06-03Merge branch 'tb/cruft-packs'Junio C Hamano1-1/+11
2022-05-26builtin/pack-objects.c: --cruft without expirationTaylor Blau1-0/+2
2022-05-26pack-mtimes: support reading .mtimes filesTaylor Blau1-1/+9
2022-04-01object-store.h: remove unused has_sha1_file*()Ævar Arnfjörð Bjarmason1-4/+0
2022-02-25object-file API: have hash_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason1-1/+1
2022-02-25object API: rename hash_object_file_literally() to write_*()Ævar Arnfjörð Bjarmason1-3/+3
2022-02-25object-file API: have write_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason1-2/+2
2022-02-25object-file API: add a format_object_header() functionÆvar Arnfjörð Bjarmason1-0/+8
2022-02-25object-file API: return "void", not "int" from hash_object_file()Ævar Arnfjörð Bjarmason1-3/+3
2022-01-03Merge branch 'ns/tmp-objdir'Junio C Hamano1-0/+26
2021-12-08tmp-objdir: disable ref updates when replacing the primary odbNeeraj Singh1-0/+7
2021-12-08tmp-objdir: new API for creating temporary writable databasesNeeraj Singh1-0/+19
2021-10-25Merge branch 'ab/fix-commit-error-message-upon-unwritable-object-store'Junio C Hamano1-2/+8
2021-10-25Merge branch 'ab/fsck-unexpected-type'Junio C Hamano1-3/+4
2021-10-12commit: fix duplication regression in permission error outputÆvar Arnfjörð Bjarmason1-2/+8
2021-10-01fsck: report invalid object type-path combinationsÆvar Arnfjörð Bjarmason1-0/+1
2021-10-01fsck: don't hard die on invalid object typesÆvar Arnfjörð Bjarmason1-3/+3
2021-09-27*.[ch] *_INIT macros: use { 0 } for a "zero out" idiomÆvar Arnfjörð Bjarmason1-1/+1
2021-09-23Merge branch 'rs/packfile-bad-object-list-in-oidset'Junio C Hamano1-2/+2
2021-09-20Merge branch 'tb/multi-pack-bitmaps'Junio C Hamano1-0/+1
2021-09-12packfile: use oidset for bad objectsRené Scharfe1-2/+2
2021-09-01midx: avoid opening multiple MIDXs when writingTaylor Blau1-0/+1
2021-08-29object-store.h: teach for_each_packed_object to ignore kept packsTaylor Blau1-0/+6
2021-08-09object-store: avoid extra ';' from KHASH_INITCarlo Marcelo Arenas Belón1-1/+1
2021-07-07oidtree: a crit-bit tree for odb_loose_cacheEric Wong1-2/+3
2021-07-07make object_directory.loose_objects_subdir_seen a bitmapEric Wong1-1/+1
2021-07-07speed up alt_odb_usable() with many alternatesEric Wong1-0/+7
2021-02-22packfile: add kept-pack cache for find_kept_pack_entry()Jeff King1-0/+5
2021-01-25packfile: prepare for the existence of '*.rev' filesTaylor Blau1-0/+3
2020-08-06sha1-file: introduce no-lazy-fetch has_object()Jonathan Tan1-2/+23
2020-05-27packfile: compute and use the index CRC offsetbrian m. carlson1-0/+1
2020-03-30oid_array: rename source file from sha1-arrayJeff King1-1/+1
2020-02-24packed_object_info(): use object_id for returning delta baseJeff King1-1/+1
2020-02-14Merge branch 'mt/use-passed-repo-more-in-funcs'Junio C Hamano1-2/+3
2020-02-14Merge branch 'mt/threaded-grep-in-object-store'Junio C Hamano1-0/+37
2020-02-12Merge branch 'jn/pretend-object-doc'Junio C Hamano1-0/+8
2020-01-31sha1-file: pass git_hash_algo to hash_object_file()Matheus Tavares1-2/+3
2020-01-22Merge branch 'jt/sha1-file-remove-oi-skip-cached'Junio C Hamano1-2/+0
2020-01-17object-store: allow threaded access to object readingMatheus Tavares1-0/+35
2020-01-17replace-object: make replace operations thread-safeMatheus Tavares1-0/+2
2020-01-06sha1-file: document how to use pretend_object_fileJonathan Nieder1-0/+8
2020-01-02sha1-file: remove OBJECT_INFO_SKIP_CACHEDJonathan Tan1-2/+0
2019-12-03packfile.c: speed up loading lots of packfilesColin Stolley1-0/+21
2019-07-19Merge branch 'jk/check-connected-with-alternates'Junio C Hamano1-0/+2
2019-07-01object-store.h: move for_each_alternate_ref() from transport.hJeff King1-0/+2
2019-06-17Merge branch 'ds/object-info-for-prefetch-fix'Junio C Hamano1-3/+7
2019-05-28sha1-file: split OBJECT_INFO_FOR_PREFETCHDerrick Stolee1-3/+7
2019-05-19Merge branch 'ds/midx-too-many-packs'Junio C Hamano1-7/+2
2019-05-13Merge branch 'dl/no-extern-in-func-decl'Junio C Hamano1-16/+16
2019-05-07midx: add packs to packed_git linked listDerrick Stolee1-7/+2
2019-05-05*.[ch]: manually align parameter listsDenton Liu1-8/+8
2019-05-05*.[ch]: remove extern from function declarations using spatchDenton Liu1-8/+8
2019-04-25Merge branch 'jt/batch-fetch-blobs-in-diff'Junio C Hamano1-0/+6
2019-04-01sha1-file: support OBJECT_INFO_FOR_PREFETCHJonathan Tan1-0/+6
2019-04-01object-store: rename and expand packed_git's sha1 memberbrian m. carlson1-1/+1
2019-02-06Merge branch 'jk/loose-object-cache-oid'Junio C Hamano1-16/+5
2019-02-05Merge branch 'sb/more-repo-in-api'Junio C Hamano1-8/+27
2019-01-08sha1-file: drop has_sha1_file()Jeff King1-8/+4
2019-01-08object-store: retire odb_load_loose_cache()René Scharfe1-7/+0
2019-01-08object-store: use one oid_array per subdirectory for loose cacheRené Scharfe1-1/+1
2019-01-08sha1-file: modernize loose object file functionsJeff King1-3/+5
2019-01-08object-store: factor out odb_clear_loose_cache()René Scharfe1-0/+3
2019-01-08object-store: factor out odb_loose_cache()René Scharfe1-0/+7
2019-01-08sha1-file: fix outdated sha1 comment referencesJeff King0-0/+0
2018-11-14object-store: prepare has_{sha1, object}_file to handle any repoStefan Beller1-5/+17
2018-11-14object-store: prepare read_object_file to deal with any repoStefan Beller1-2/+8
2018-11-14object-store: allow read_object_file_extended to read from any repoStefan Beller1-2/+3
2018-11-13sha1-file: use loose object cache for quick existence checkJeff King1-0/+1
2018-11-13object-store: provide helpers for loose_objects_cacheJeff King1-5/+13
2018-11-13sha1-file: use an object_directory for the main object dirJeff King1-14/+13
2018-11-13handle alternates paths the same as the main object dirJeff King1-13/+1
2018-11-13sha1_file_name(): overwrite buffer instead of appendingJeff King1-1/+1
2018-11-13rename "alternate_object_database" to "object_directory"Jeff King1-7/+7
2018-08-20packfile: add all_packs listDerrick Stolee1-0/+6
2018-08-20Sync 'ds/multi-pack-index' to v2.19.0-rc0Junio C Hamano1-0/+9
2018-08-20Merge branch 'en/incl-forward-decl'Junio C Hamano1-0/+1
2018-08-15Add missing includes and forward declarationsElijah Newren1-0/+1
2018-08-14for_each_*_object: move declarations to object-store.hJeff King1-0/+90
2018-07-20config: create core.multiPackIndex settingDerrick Stolee1-0/+7
2018-07-20multi-pack-index: load into memoryDerrick Stolee1-0/+2
2018-07-17commit-graph: store graph in struct object_storeJonathan Tan1-0/+3
2018-07-17object-store: add missing includeJonathan Tan1-0/+3
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-0/+117
2018-05-23Merge branch 'nd/pack-objects-pack-struct'Junio C Hamano1-0/+1
2018-05-23Merge branch 'nd/repack-keep-pack'Junio C Hamano1-0/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+117
2018-04-16repack: add --keep-pack optionNguyễn Thái Ngọc Duy1-0/+1
2018-04-16pack-objects: move in_pack out of struct object_entryNguyễn Thái Ngọc Duy1-0/+1
2018-04-12replace-object: eliminate replace objects prepared flagStefan Beller1-1/+1
2018-04-12replace-object: move replace_map to object storeStefan Beller1-0/+8
2018-03-26sha1_file: allow map_sha1_file to handle arbitrary repositoriesStefan Beller1-2/+1
2018-03-26sha1_file: allow sha1_file_name to handle arbitrary repositoriesStefan Beller1-2/+1
2018-03-26sha1_file: add repository argument to map_sha1_fileStefan Beller1-0/+3
2018-03-26sha1_file: add repository argument to sha1_file_nameStefan Beller1-0/+7
2018-03-26sha1_file: allow prepare_alt_odb to handle arbitrary repositoriesStefan Beller1-2/+1
2018-03-26sha1_file: allow link_alt_odb_entries to handle arbitrary repositoriesStefan Beller1-0/+4
2018-03-26sha1_file: add repository argument to prepare_alt_odbStefan Beller1-1/+2
2018-03-26pack: move approximate object count to object storeStefan Beller1-0/+8
2018-03-26pack: move prepare_packed_git_run_once to object storeStefan Beller1-0/+6
2018-03-26object-store: move packed_git and packed_git_mru to object storeStefan Beller1-0/+34
2018-03-23object-store: move alt_odb_list and alt_odb_tail to object storeStefan Beller1-2/+5
2018-03-23object-store: migrate alternates struct and functions from cache.hStefan Beller1-0/+51
2018-03-23repository: introduce raw object store fieldStefan Beller1-0/+18