aboutsummaryrefslogtreecommitdiffstats
path: root/read-cache.c
AgeCommit message (Expand)AuthorFilesLines
2021-05-19read-cache: delete unused hashing methodsDerrick Stolee1-64/+0
2021-05-19read-cache: use hashfile instead of git_hash_ctxDerrick Stolee1-71/+66
2021-05-16Merge branch 'mt/parallel-checkout-part-3'Junio C Hamano1-4/+10
2021-05-10Merge branch 'bc/hash-transition-interop-part-1'Junio C Hamano1-2/+2
2021-05-07Merge branch 'mt/add-rm-in-sparse-checkout'Junio C Hamano1-0/+3
2021-05-07Merge branch 'ad/cygwin-no-backslashes-in-paths'Junio C Hamano1-1/+1
2021-05-05make_transient_cache_entry(): optionally alloc from mem_poolMatheus Tavares1-4/+10
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano1-7/+72
2021-04-30cygwin: disallow backslashes in file namesAdam Dinwoodie1-1/+1
2021-04-27Always use oidread to read into struct object_idbrian m. carlson1-2/+2
2021-04-14read-cache: ensure full indexDerrick Stolee1-0/+4
2021-04-14read-cache: expand on query into sparse-directory entryDerrick Stolee1-0/+21
2021-04-14*: remove 'const' qualifier for struct index_stateDerrick Stolee1-5/+5
2021-04-08refresh_index(): add flag to ignore SKIP_WORKTREE entriesMatheus Tavares1-0/+3
2021-03-30sparse-index: convert from full to sparseDerrick Stolee1-2/+24
2021-03-30sparse-index: add 'sdir' index extensionDerrick Stolee1-0/+9
2021-03-30sparse-index: implement ensure_full_index()Derrick Stolee1-0/+9
2021-03-19Merge branch 'rs/calloc-array'Junio C Hamano1-4/+4
2021-03-19Merge branch 'js/fsmonitor-unpack-fix'Junio C Hamano1-0/+1
2021-03-17fsmonitor: do not forget to release the token in `discard_index()`Johannes Schindelin1-0/+1
2021-03-13use CALLOC_ARRAYRené Scharfe1-4/+4
2021-03-01Merge branch 'ns/raise-write-index-buffer-size'Junio C Hamano1-1/+1
2021-03-01Merge branch 'jh/fsmonitor-prework'Junio C Hamano1-3/+21
2021-02-24read-cache: make the index write buffer size 128KNeeraj Singh1-1/+1
2021-02-16read-cache: log the number of scanned files to trace2Jeff Hostetler1-3/+10
2021-02-16read-cache: log the number of lstat calls to trace2Jeff Hostetler1-3/+14
2021-01-06read-cache: try not to peek into `struct {lock_,temp}file`Martin Ågren1-6/+6
2020-09-06read-cache: fix mem-pool allocation for multi-threaded index loadingRené Scharfe1-1/+1
2020-08-18mem-pool: use more standard initialization and finalizationElijah Newren1-8/+13
2020-07-16read-cache: remove bogus shortcutRené Scharfe1-14/+0
2020-01-10Merge branch 'js/mingw-loosen-overstrict-tree-entry-checks'Junio C Hamano1-6/+6
2020-01-10mingw: safeguard better against backslashes in file namesJohannes Schindelin via GitGitGadget1-6/+6
2020-01-06Merge branch 'js/mingw-loosen-overstrict-tree-entry-checks'Junio C Hamano1-0/+5
2020-01-02mingw: only test index entries for backslashes, not tree entriesJohannes Schindelin1-0/+5
2019-12-09Sync with Git 2.24.1Junio C Hamano1-0/+11
2019-12-06Sync with 2.23.1Johannes Schindelin1-0/+11
2019-12-06Sync with 2.22.2Johannes Schindelin1-0/+11
2019-12-06Sync with 2.21.1Johannes Schindelin1-0/+11
2019-12-06Sync with 2.20.2Johannes Schindelin1-0/+11
2019-12-06Sync with 2.19.3Johannes Schindelin1-0/+11
2019-12-06Sync with 2.18.2Johannes Schindelin1-0/+11
2019-12-06Sync with 2.17.3Johannes Schindelin1-0/+11
2019-12-06Sync with 2.16.6Johannes Schindelin1-0/+11
2019-12-06Sync with 2.15.4Johannes Schindelin1-0/+11
2019-12-06Sync with 2.14.6Johannes Schindelin1-0/+11
2019-12-05mingw: refuse to access paths with trailing spaces or periodsJohannes Schindelin1-0/+3
2019-12-05is_ntfs_dotgit(): only verify the leading segmentJohannes Schindelin1-0/+8
2019-11-10Fix spelling errors in code commentsElijah Newren1-1/+1
2019-10-15Merge branch 'js/azure-pipelines-msvc'Junio C Hamano1-2/+2
2019-10-07Merge branch 'tg/stash-refresh-index'Junio C Hamano1-0/+21
2019-10-06msvc: avoid using minus operator on unsigned typesJohannes Schindelin1-2/+2
2019-09-20factor out refresh_and_write_cache functionThomas Gummerer1-0/+21
2019-09-09Merge branch 'ds/feature-macros'Junio C Hamano1-15/+15
2019-08-13repo-settings: parse core.untrackedCacheDerrick Stolee1-10/+9
2019-08-13repo-settings: consolidate some config settingsDerrick Stolee1-5/+6
2019-07-29Merge branch 'rs/avoid-overflow-in-midpoint-computation' into maintJunio C Hamano1-1/+1
2019-07-29Merge branch 'vn/xmmap-gently' into maintJunio C Hamano1-1/+1
2019-07-25Merge branch 'vn/xmmap-gently'Junio C Hamano1-1/+1
2019-07-14read-cache.c: do not die if mmap failsVarun Naik1-1/+1
2019-07-09Merge branch 'rs/avoid-overflow-in-midpoint-computation'Junio C Hamano1-1/+1
2019-06-17Merge branch 'js/fsmonitor-unflake'Junio C Hamano1-5/+5
2019-06-13Merge branch 'jk/unused-params-final-batch'Junio C Hamano1-2/+2
2019-06-13cleanup: fix possible overflow errors in binary search, part 2René Scharfe1-1/+1
2019-05-28mark_fsmonitor_valid(): mark the index as changed if neededJohannes Schindelin1-2/+2
2019-05-28fill_stat_cache_info(): prepare for an fsmonitor fixJohannes Schindelin1-3/+3
2019-05-19Merge branch 'js/fsmonitor-refresh-after-discarding-index'Junio C Hamano1-0/+1
2019-05-13Merge branch 'jh/trace2'Junio C Hamano1-1/+1
2019-05-13read-cache: drop unused parameter from threaded loadJeff King1-2/+2
2019-05-10trace2: fix up a missing "leave" entry pointÆvar Arnfjörð Bjarmason1-1/+1
2019-05-09Merge branch 'km/empty-repo-is-still-a-repo'Junio C Hamano1-0/+3
2019-05-08fsmonitor: force a refresh after the index was discardedJohannes Schindelin1-0/+1
2019-04-25Merge branch 'bc/hash-transition-16'Junio C Hamano1-45/+29
2019-04-25Merge branch 'bp/post-index-change-hook'Junio C Hamano1-2/+12
2019-04-10add: error appropriately on repository with no commitsKyle Meyer1-0/+3
2019-04-01read-cache: read data in a hash-independent waybrian m. carlson1-45/+29
2019-03-07Merge branch 'jh/trace2'Junio C Hamano1-1/+50
2019-03-07Merge branch 'nd/split-index-null-base-fix'Junio C Hamano1-2/+3
2019-03-07Merge branch 'tg/checkout-no-overlay'Junio C Hamano1-1/+7
2019-02-22trace2:data: add trace2 instrumentation to index read/writeJeff Hostetler1-1/+50
2019-02-15read-cache: add post-index-change hookBen Peart1-2/+12
2019-02-13read-cache.c: fix writing "link" index ext with null base oidNguyễn Thái Ngọc Duy1-2/+3
2019-02-06Merge branch 'jk/add-ignore-errors-bit-assignment-fix'Junio C Hamano1-1/+1
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-27/+17
2019-02-06add_to_index(): convert forgotten HASH_RENORMALIZE checkJeff King1-1/+1
2019-02-05Merge branch 'jk/add-ignore-errors-bit-assignment-fix'Junio C Hamano1-4/+4
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-2/+0
2019-01-17add: use separate ADD_CACHE_RENORMALIZE flagJeff King1-4/+4
2019-01-14Merge branch 'nd/indentation-fix'Junio C Hamano1-59/+59
2019-01-14read-cache.c: remove the_* from index_has_changes()Nguyễn Thái Ngọc Duy1-7/+5
2019-01-14read-cache.c: replace update_index_if_able with repo_&Nguyễn Thái Ngọc Duy1-6/+8
2019-01-14read-cache.c: kill read_index()Nguyễn Thái Ngọc Duy1-7/+4
2019-01-14repository.c: replace hold_locked_index() with repo_hold_locked_index()Nguyễn Thái Ngọc Duy1-5/+0
2019-01-04Merge branch 'nd/the-index'Junio C Hamano1-1/+1
2019-01-04Merge branch 'nd/i18n'Junio C Hamano1-36/+37
2019-01-02read-cache: add invalidate parameter to remove_marked_cache_entriesThomas Gummerer1-1/+7
2018-12-09Indent code with TABsNguyễn Thái Ngọc Duy1-59/+59
2018-11-21Merge branch 'cc/shared-index-permbits'Junio C Hamano1-1/+2
2018-11-21index: make index.threads=true enable ieot and eoieJonathan Nieder1-6/+17
2018-11-21ieot: default to not writing IEOT sectionJonathan Nieder1-1/+10
2018-11-21eoie: default to not writing EOIE sectionJonathan Nieder1-1/+10
2018-11-19read-cache: make the split index obey umask settingsÆvar Arnfjörð Bjarmason1-1/+2
2018-11-18Merge branch 'nd/pthreads'Junio C Hamano1-27/+10
2018-11-13Merge branch 'bp/refresh-index-using-preload'Junio C Hamano1-0/+6
2018-11-12cache-tree.c: remove the_repository referencesNguyễn Thái Ngọc Duy1-1/+1
2018-11-12read-cache.c: add missing colon separatorsNguyễn Thái Ngọc Duy1-5/+5
2018-11-12read-cache.c: mark more strings for translationNguyễn Thái Ngọc Duy1-28/+29
2018-11-12read-cache.c: turn die("internal error") to BUG()Nguyễn Thái Ngọc Duy1-3/+3
2018-11-06Merge branch 'nd/unpack-trees-with-cache-tree'Junio C Hamano1-1/+1
2018-11-05read-cache.c: initialize copy_len to shut up gcc 8Nguyễn Thái Ngọc Duy1-3/+1
2018-11-05read-cache.c: reduce branching based on HAVE_THREADSNguyễn Thái Ngọc Duy1-10/+9
2018-11-05read-cache.c: remove #ifdef NO_PTHREADSNguyễn Thái Ngọc Duy1-24/+10
2018-10-30speed up refresh_index() by utilizing preload_index()Ben Peart1-0/+6
2018-10-26Merge branch 'sg/split-index-racefix'Junio C Hamano1-1/+1
2018-10-22read-cache: use of memory after it is freedCarlo Marcelo Arenas Belón1-1/+1
2018-10-19Merge branch 'nd/status-refresh-progress'Junio C Hamano1-0/+12
2018-10-19Merge branch 'bp/read-cache-parallel'Junio C Hamano1-116/+658
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-14/+19
2018-10-12split-index: smudge and add racily clean cache entries to split indexSZEDER Gábor1-1/+1
2018-10-11read-cache: load cache entries on worker threadsBen Peart1-37/+193
2018-10-11ieot: add Index Entry Offset Table (IEOT) extensionBen Peart1-3/+193
2018-10-11read-cache: load cache extensions on a worker threadBen Peart1-16/+79
2018-10-11eoie: add End of Index Entry (EOIE) extensionBen Peart1-8/+150
2018-10-11read-cache: clean up casting and byte decodingBen Peart1-12/+11
2018-09-26read-cache.c: optimize reading index format v4Nguyễn Thái Ngọc Duy1-68/+60
2018-09-21sha1-file.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-10/+15
2018-09-21read-cache.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-2/+2
2018-09-21diff.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-09-21read-cache.c: remove 'const' from index_has_changes()Nguyễn Thái Ngọc Duy1-1/+1
2018-09-17Merge branch 'jk/cocci'Junio C Hamano1-6/+6
2018-09-17Merge branch 'nd/unpack-trees-with-cache-tree'Junio C Hamano1-5/+11
2018-09-17status: show progress bar if refreshing the index takes too longNguyễn Thái Ngọc Duy1-0/+12
2018-08-29read-cache: use oideq() in ce_compare functionsJeff King1-2/+2
2018-08-29convert "hashcmp() != 0" to "!hasheq()"Jeff King1-2/+2
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-1/+1
2018-08-20Merge branch 'nd/no-the-index'Junio C Hamano1-1/+1
2018-08-18cache-tree: verify valid cache-tree in the test suiteNguyễn Thái Ngọc Duy1-0/+3
2018-08-18unpack-trees: reuse (still valid) cache-tree from src_indexNguyễn Thái Ngọc Duy1-0/+2
2018-08-18trace.h: support nested performance tracingNguyễn Thái Ngọc Duy1-5/+6
2018-08-17Merge branch 'en/abort-df-conflict-fixes'Junio C Hamano1-5/+8
2018-08-13dir.c: remove an implicit dependency on the_index in pathspec codeNguyễn Thái Ngọc Duy1-1/+1
2018-08-02Merge branch 'en/dirty-merge-fixes'Junio C Hamano1-0/+40
2018-08-02Merge branch 'jm/cache-entry-from-mem-pool'Junio C Hamano1-46/+218
2018-07-31read-cache: fix directory/file conflict handling in read_index_unmerged()Elijah Newren1-5/+8
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-0/+1
2018-07-11merge-recursive: fix assumption that head tree being merged is HEADElijah Newren1-4/+8
2018-07-03index_has_changes(): avoid assuming operating on the_indexElijah Newren1-4/+7
2018-07-03read-cache.c: move index_has_changes() from merge.cElijah Newren1-0/+33
2018-07-03block alloc: add validations around cache_entry lifecyleJameson Miller1-2/+53
2018-07-03block alloc: allocate cache entries from mem_poolJameson Miller1-19/+100
2018-07-03block alloc: add lifecycle APIs for cache_entry structsJameson Miller1-28/+65
2018-07-03read-cache: teach make_cache_entry to take object_idJameson Miller1-3/+5
2018-07-03read-cache: teach refresh_cache_entry to take istateJameson Miller1-4/+5
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-17/+17
2018-05-29Sync with Git 2.17.1Junio C Hamano1-13/+38
2018-05-22Sync with Git 2.16.4Junio C Hamano1-13/+38
2018-05-22Sync with Git 2.15.2Junio C Hamano1-13/+38
2018-05-22Sync with Git 2.14.4Junio C Hamano1-13/+38
2018-05-22Sync with Git 2.13.7Junio C Hamano1-13/+38
2018-05-21verify_path: disallow symlinks in .gitmodulesJeff King1-9/+31
2018-05-21verify_dotfile: mention case-insensitivity in commentJeff King1-1/+4
2018-05-21verify_path: drop clever fallthroughJeff King1-4/+4
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-02Update struct index_state to use struct object_idbrian m. carlson1-8/+8
2018-05-02split-index: convert struct split_index to object_idbrian m. carlson1-11/+11
2018-04-16read-cache.c: make $GIT_TEST_SPLIT_INDEX booleanNguyễn Thái Ngọc Duy1-2/+2
2018-04-10Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2018-03-22Merge branch 'nd/shared-index-fix' into maintJunio C Hamano1-18/+22
2018-03-22Merge branch 'tg/split-index-fixes' into maintJunio C Hamano1-11/+14
2018-03-21Merge branch 'rj/warning-uninitialized-fix'Junio C Hamano1-2/+4
2018-03-21Merge branch 'bp/refresh-cache-ent-rehash-fix'Junio C Hamano1-1/+3
2018-03-21Merge branch 'ma/skip-writing-unchanged-index'Junio C Hamano1-0/+6
2018-03-20read-cache: fix an -Wmaybe-uninitialized warningRamsay Jones1-2/+4
2018-03-15Fix bugs preventing adding updated cache entries to the name hashBen Peart1-1/+3
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-2/+2
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-20/+20
2018-03-01write_locked_index(): add flag to avoid writing unchanged indexMartin Ågren1-0/+6
2018-02-22read-cache: rename 'new' variablesBrandon Williams1-20/+20
2018-02-15Merge branch 'bc/hash-algo'Junio C Hamano1-29/+29
2018-02-15Merge branch 'nd/trace-index-ops'Junio C Hamano1-0/+7
2018-02-15Merge branch 'po/object-id'Junio C Hamano1-3/+3
2018-02-13Merge branch 'nd/shared-index-fix'Junio C Hamano1-18/+22
2018-02-13Merge branch 'sg/cocci-move-array'Junio C Hamano1-3/+2
2018-02-13Merge branch 'tg/split-index-fixes'Junio C Hamano1-11/+14
2018-02-02read-cache: abstract away uses of SHA-1brian m. carlson1-29/+29
2018-02-02trace: measure where the time is spent in the index-heavy operationsNguyễn Thái Ngọc Duy1-0/+7
2018-01-30sha1_file: convert write_sha1_file to object_idPatryk Obara1-3/+3
2018-01-24read-cache: don't write index twice if we can't write shared indexNguyễn Thái Ngọc Duy1-2/+3
2018-01-22Use MOVE_ARRAYSZEDER Gábor1-3/+2
2018-01-19split-index: don't write cache tree with null oid entriesThomas Gummerer1-1/+1
2018-01-19read-cache: fix reading the shared index for other reposThomas Gummerer1-10/+13
2018-01-16read-cache.c: move tempfile creation/cleanup out of write_shared_indexNguyễn Thái Ngọc Duy1-16/+17
2018-01-16read-cache.c: change type of "temp" in write_shared_index()Nguyễn Thái Ngọc Duy1-9/+11
2017-11-27Merge branch 'tb/add-renormalize'Junio C Hamano1-11/+19
2017-11-21Merge branch 'av/fsmonitor'Junio C Hamano1-0/+3
2017-11-21Merge branch 'bp/fsmonitor'Junio C Hamano1-5/+40
2017-11-17add: introduce "--renormalize"Torsten Bögershausen1-11/+19
2017-11-15Merge branch 'bp/read-index-from-skip-verification'Junio C Hamano1-0/+6
2017-11-10fsmonitor: store fsmonitor bitmap before splitting indexAlex Vandiver1-0/+3
2017-11-08read_index_from(): speed index loading by skipping verification of the entry ...Ben Peart1-0/+6