aboutsummaryrefslogtreecommitdiffstats
path: root/read-cache.c
AgeCommit message (Expand)AuthorFilesLines
2016-02-10Merge branch 'cc/untracked'Junio C Hamano1-2/+25
2016-01-27config: add core.untrackedCacheChristian Couder1-2/+25
2016-01-20Merge branch 'nd/ita-cleanup'Junio C Hamano1-2/+2
2015-10-29Merge branch 'dt/name-hash-dir-entry-fix'Junio C Hamano1-15/+1
2015-10-29Merge branch 'tk/sigchain-unnecessary-post-tempfile'Junio C Hamano1-1/+0
2015-10-22read-cache: remove unused #include "sigchain.h"Tobias Klauser1-1/+0
2015-10-21name-hash: don't reuse cache_entry in dir_entryDavid Turner1-15/+1
2015-09-06add and use a convenience macro ce_intent_to_add()Nguyễn Thái Ngọc Duy1-2/+2
2015-08-31read-cache: fix indentation in read_index_fromStefan Beller1-1/+1
2015-08-25Merge branch 'mh/tempfile'Junio C Hamano1-33/+7
2015-08-10write_shared_index(): use tempfile moduleMichael Haggerty1-32/+6
2015-08-10lockfile: add accessors get_lock_file_fd() and get_lock_file_fp()Michael Haggerty1-1/+1
2015-06-24Merge branch 'nd/untracked-cache'Junio C Hamano1-1/+2
2015-06-11Merge branch 'jk/diagnose-config-mmap-failure'Junio C Hamano1-1/+1
2015-06-08read-cache: fix untracked cache invalidation when split-index is usedNguyễn Thái Ngọc Duy1-1/+2
2015-05-28read-cache.c: drop PROT_WRITE from mmap of indexJeff King1-1/+1
2015-05-26Merge branch 'nd/untracked-cache'Junio C Hamano1-10/+45
2015-03-27Merge branch 'sb/leaks'Junio C Hamano1-10/+12
2015-03-25Merge branch 'tg/fix-check-order-with-split-index'Junio C Hamano1-19/+23
2015-03-23read-cache: fix memleakStefan Beller1-5/+2
2015-03-23add_to_index(): free unused cache-entryJunio C Hamano1-3/+5
2015-03-22read-cache: free cache entry in add_to_index in case of early returnStefan Beller1-2/+5
2015-03-20read-cache: fix reading of split indexThomas Gummerer1-19/+23
2015-03-12untracked cache: mark index dirty if untracked cache is updatedNguyễn Thái Ngọc Duy1-1/+1
2015-03-12untracked cache: avoid racy timestampsNguyễn Thái Ngọc Duy1-0/+8
2015-03-12read-cache.c: split racy stat test to a separate functionNguyễn Thái Ngọc Duy1-9/+15
2015-03-12untracked cache: invalidate at index addition or removalNguyễn Thái Ngọc Duy1-0/+4
2015-03-12untracked cache: load from UNTR index extensionNguyễn Thái Ngọc Duy1-0/+5
2015-03-12untracked cache: save to an index extensionNguyễn Thái Ngọc Duy1-0/+12
2015-02-25Merge branch 'sb/plug-leak-in-make-cache-entry'Junio C Hamano1-2/+8
2015-02-17read-cache.c: free cache entry when refreshing failsStefan Beller1-2/+8
2014-12-17Sync with v2.1.4Junio C Hamano1-2/+8
2014-12-17Sync with v2.0.5Junio C Hamano1-2/+8
2014-12-17Sync with v1.9.5Junio C Hamano1-2/+8
2014-12-17Sync with v1.8.5.6Junio C Hamano1-2/+8
2014-12-17read-cache: optionally disallow NTFS .git variantsJohannes Schindelin1-0/+2
2014-12-17read-cache: optionally disallow HFS+ .git variantsJeff King1-0/+3
2014-12-17verify_dotfile(): reject .git case-insensitivelyJeff King1-2/+3
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-0/+1
2014-10-01hold_locked_index(): move from lockfile.c to read-cache.cMichael Haggerty1-0/+8
2014-10-01commit_lock_file_to(): refactor a helper out of commit_lock_file()Michael Haggerty1-10/+3
2014-10-01lockfile: change lock_file::filename into a strbufMichael Haggerty1-2/+2
2014-10-01lockfile: avoid transitory invalid statesMichael Haggerty1-0/+1
2014-10-01close_lock_file(): exit (successfully) if file is already closedMichael Haggerty1-1/+1
2014-09-19Merge branch 'rs/refresh-beyond-symlink' into maintJunio C Hamano1-0/+8
2014-09-19Merge branch 'jp/index-with-corrupt-stages'Junio C Hamano1-1/+18
2014-09-11Merge branch 'ta/config-set-2'Junio C Hamano1-11/+3
2014-09-09Merge branch 'rs/refresh-beyond-symlink'Junio C Hamano1-0/+8
2014-08-29read_index_unmerged(): remove unnecessary loop index adjustmentJaime Soriano Pastor1-1/+0
2014-08-29read_index_from(): catch out of order entries when reading an index fileJaime Soriano Pastor1-0/+18
2014-08-10read-cache: check for leading symlinks when refreshing indexRené Scharfe1-0/+8
2014-08-07read-cache.c: replace `git_config()` with `git_config_get_*()` familyTanay Abhra1-11/+3
2014-07-16Merge branch 'nd/split-index'Junio C Hamano1-28/+244
2014-06-25Merge branch 'ym/fix-opportunistic-index-update-race' into maintJunio C Hamano1-1/+46
2014-06-20cleanup duplicate name_compare() functionsJeremiah Mahler1-10/+13
2014-06-13t1700: new tests for split-index modeNguyễn Thái Ngọc Duy1-2/+1
2014-06-13read-cache: force split index mode with GIT_TEST_SPLIT_INDEXNguyễn Thái Ngọc Duy1-1/+9
2014-06-13read-tree: force split-index mode off on --index-outputNguyễn Thái Ngọc Duy1-1/+2
2014-06-13update-index --split-index: do not split if $GIT_DIR is read onlyNguyễn Thái Ngọc Duy1-3/+10
2014-06-13update-index: new options to enable/disable split index modeNguyễn Thái Ngọc Duy1-6/+61
2014-06-13split-index: strip pathname of on-disk replaced entriesNguyễn Thái Ngọc Duy1-0/+10
2014-06-13split-index: do not invalidate cache-tree at read timeNguyễn Thái Ngọc Duy1-1/+2
2014-06-13split-index: the reading partNguyễn Thái Ngọc Duy1-2/+0
2014-06-13read-cache: mark updated entries for split indexNguyễn Thái Ngọc Duy1-1/+4
2014-06-13read-cache: save deleted entries in split indexNguyễn Thái Ngọc Duy1-6/+8
2014-06-13read-cache: mark new entries for split indexNguyễn Thái Ngọc Duy1-1/+2
2014-06-13read-cache: split-index modeNguyễn Thái Ngọc Duy1-5/+91
2014-06-13read-cache: save index SHA-1 after readingNguyễn Thái Ngọc Duy1-2/+4
2014-06-13cache-tree: mark istate->cache_changed on cache tree invalidationNguyễn Thái Ngọc Duy1-3/+3
2014-06-13read-cache: be specific what part of the index has changedNguyễn Thái Ngọc Duy1-5/+6
2014-06-13read-cache: be strict about "changed" in remove_marked_cache_entries()Nguyễn Thái Ngọc Duy1-0/+2
2014-06-13read-cache: store in-memory flags in the first 12 bits of ce_flagsNguyễn Thái Ngọc Duy1-1/+1
2014-06-13read-cache: relocate and unexport commit_locked_index()Nguyễn Thái Ngọc Duy1-0/+20
2014-06-13read-cache: new API write_locked_index instead of write_index/write_cacheNguyễn Thái Ngọc Duy1-4/+24
2014-06-03Merge branch 'ym/fix-opportunistic-index-update-race'Junio C Hamano1-1/+46
2014-04-10read-cache.c: verify index file before we opportunistically update itYiannis Marangos1-1/+46
2014-03-18Merge branch 'bk/refresh-missing-ok-in-merge-recursive' into maintJunio C Hamano1-12/+15
2014-03-18Merge branch 'dd/use-alloc-grow'Junio C Hamano1-5/+1
2014-03-14Merge branch 'tg/index-v4-format'Junio C Hamano1-1/+37
2014-03-03read-cache.c: use ALLOC_GROW() in add_index_entry()Dmitry S. Dolzhenko1-5/+1
2014-02-27Merge branch 'jk/pack-bitmap'Junio C Hamano1-32/+12
2014-02-27Merge branch 'nd/reset-intent-to-add'Junio C Hamano1-2/+2
2014-02-27Merge branch 'nd/submodule-pathspec-ending-with-slash'Junio C Hamano1-7/+1
2014-02-27Merge branch 'bk/refresh-missing-ok-in-merge-recursive'Junio C Hamano1-12/+15
2014-02-24pathspec: convert some match_pathspec_depth() to ce_path_match()Nguyễn Thái Ngọc Duy1-7/+1
2014-02-24read-cache.c: extend make_cache_entry refresh flag with optionsBrad King1-10/+11
2014-02-24read-cache.c: refactor --ignore-missing implementationBrad King1-3/+5
2014-02-24read-cache: add index.version config variableThomas Gummerer1-9/+26
2014-02-24introduce GIT_INDEX_VERSION environment variableThomas Gummerer1-1/+20
2014-02-05reset: support "--mixed --intent-to-add" modeNguyễn Thái Ngọc Duy1-2/+2
2014-01-23read-cache: use get_be32 instead of hand-rolled ntoh_lJeff King1-32/+12
2013-11-18read-cache.c: fix memory leaks caused by removed cache entriesKarsten Blees1-2/+6
2013-11-18name-hash.c: remove cache entries instead of marking them CE_UNHASHEDKarsten Blees1-1/+1
2013-10-17Merge branch 'es/name-hash-no-trailing-slash-in-dirs'Junio C Hamano1-2/+2
2013-09-17Merge branch 'jk/write-broken-index-with-nul-sha1'Junio C Hamano1-2/+11
2013-09-17name-hash: stop storing trailing '/' on paths in index_state.dir_hashEric Sunshine1-1/+1
2013-09-17employ new explicit "exists in index?" APIEric Sunshine1-2/+2
2013-09-09Merge branch 'tg/index-struct-sizes'Junio C Hamano1-15/+15
2013-09-09Merge branch 'jl/submodule-mv'Junio C Hamano1-2/+3
2013-08-28write_index: optionally allow broken null sha1sJeff King1-2/+11
2013-08-20read-cache: use fixed width integer typesThomas Gummerer1-15/+15
2013-07-29many small typofixesOndřej Bílka1-2/+2
2013-07-19Merge branch 'rs/discard-index-discard-array' into maintJunio C Hamano1-2/+3
2013-07-15convert refresh_index to take struct pathspecNguyễn Thái Ngọc Duy1-2/+3
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleNguyễn Thái Ngọc Duy1-1/+1
2013-07-03Merge branch 'fc/do-not-use-the-index-in-add-to-index' into maintJunio C Hamano1-3/+3
2013-06-30Merge branch 'mh/ref-races'Junio C Hamano1-68/+113
2013-06-20Merge branch 'rs/discard-index-discard-array'Junio C Hamano1-2/+3
2013-06-20add a stat_validity structMichael Haggerty1-0/+30
2013-06-20Extract a struct stat_data from cache_entryMichael Haggerty1-68/+83
2013-06-11Merge branch 'fc/do-not-use-the-index-in-add-to-index'Junio C Hamano1-3/+3
2013-06-09read-cache: free cache in discard_indexRené Scharfe1-2/+3
2013-06-03read-cache: trivial style cleanupsFelipe Contreras1-2/+2
2013-06-03read-cache: fix wrong 'the_index' usageFelipe Contreras1-1/+1
2013-06-02read-cache: mark cache_entry pointers constRené Scharfe1-8/+10
2013-04-21Merge branch 'lf/read-blob-data-from-index'Junio C Hamano1-0/+34
2013-04-17read_blob_data_from_index(): optionally return the size of blob dataLukas Fleischer1-1/+3
2013-04-17attr.c: extract read_index_data() as read_blob_data_from_index()Lukas Fleischer1-0/+32
2013-04-03Merge branch 'kb/name-hash' into maint-1.8.1Junio C Hamano1-5/+4
2013-04-01Merge branch 'kb/name-hash'Junio C Hamano1-5/+4
2013-03-19Merge branch 'nd/doc-index-format'Junio C Hamano1-1/+1
2013-02-27name-hash.c: fix endless loop with core.ignorecase=trueKarsten Blees1-5/+4
2013-02-22read-cache.c: use INDEX_FORMAT_{LB,UB} in verify_hdr()Nguyễn Thái Ngọc Duy1-1/+1
2013-01-22Enable minimal stat checkingRobin Rosenberg1-10/+14
2012-09-15read-cache.c: mark a private file-scope symbol as staticJunio C Hamano1-1/+1
2012-08-27Merge branch 'jk/maint-null-in-trees'Junio C Hamano1-0/+2
2012-08-22Merge branch 'nd/index-errno'Junio C Hamano1-5/+1
2012-08-06read_index_from: remove bogus errno assignmentsNguyễn Thái Ngọc Duy1-5/+1
2012-07-29do not write null sha1s to on-disk indexJeff King1-0/+2
2012-07-23Merge branch 'tg/ce-namelen-field'Junio C Hamano1-28/+39
2012-07-15Merge branch 'tg/maint-cache-name-compare'Junio C Hamano1-4/+9
2012-07-11Strip namelen out of ce_flags into a ce_namelen fieldThomas Gummerer1-28/+39
2012-07-11Merge branch 'tg/maint-cache-name-compare' into tg/ce-namelen-fieldJunio C Hamano1-4/+9
2012-07-11cache_name_compare(): do not truncate while comparing pathsJunio C Hamano1-4/+9
2012-07-08Replace strlen() with ce_namelen()Thomas Gummerer1-2/+2
2012-05-02Merge branch 'jc/index-v4'Junio C Hamano1-42/+223
2012-04-04read-cache.c: write prefix-compressed names in the indexJunio C Hamano1-10/+54
2012-04-03read-cache.c: read prefix-compressed names in index on-disk version v4Junio C Hamano1-7/+51
2012-04-03read-cache.c: move code to copy incore to ondisk cache to a helper functionJunio C Hamano1-9/+17
2012-04-03read-cache.c: move code to copy ondisk to incore cache to a helper functionJunio C Hamano1-19/+25
2012-04-03read-cache.c: report the header version we do not understandJunio C Hamano1-2/+4
2012-04-03read-cache.c: make create_from_disk() report number of bytes it consumedJunio C Hamano1-3/+6
2012-04-03read-cache.c: allow unaligned mapping of the index fileJunio C Hamano1-12/+32
2012-04-03cache.h: hide on-disk index detailsJunio C Hamano1-0/+54
2012-03-23make is_empty_blob_sha1 available everywhereJeff King1-10/+0
2012-02-17refresh_index: do not show unmerged path that is outside pathspecJunio C Hamano1-2/+9
2011-12-09Merge branch 'rs/allocate-cache-entry-individually'Junio C Hamano1-51/+32
2011-11-18refresh_index: make porcelain output more specificJeff King1-2/+21
2011-11-18refresh_index: rename format variablesJeff King1-6/+6
2011-11-18read-cache: let refresh_cache_ent pass up changed flagsJeff King1-3/+6
2011-10-26read-cache.c: allocate index entries individuallyRené Scharfe1-50/+31
2011-10-26read-cache.c: fix index memory allocationRené Scharfe1-3/+3
2011-08-25Merge branch 'maint'Junio C Hamano1-1/+1
2011-08-25whitespace: have SP on both sides of an assignment "="Junio C Hamano1-1/+1
2011-06-29Merge branch 'ef/maint-win-verify-path'Junio C Hamano1-14/+11
2011-06-08verify_dotfile(): do not assume '/' is the path seperatorTheo Niessink1-3/+4
2011-06-07verify_path(): simplify check at the directory boundaryJunio C Hamano1-10/+3
2011-05-27verify_path: consider dos drive prefixErik Faye-Lund1-1/+4
2011-05-09index_fd(): turn write_object and format_check arguments into one flagJunio C Hamano1-2/+2
2011-04-03Merge branch 'jc/index-update-if-able' into maintJunio C Hamano1-0/+25
2011-03-26Merge branch 'jc/index-update-if-able'Junio C Hamano1-0/+25
2011-03-21update $GIT_INDEX_FILE when there are racily clean entriesJunio C Hamano1-1/+14
2011-03-21diff/status: refactor opportunistic index updateJunio C Hamano1-0/+12
2011-02-27Merge branch 'nd/hash-object-sanity'Junio C Hamano1-1/+1
2011-02-27Merge branch 'nd/struct-pathspec'Junio C Hamano1-23/+2
2011-02-22update-index --refresh --porcelain: add missing constJonathan Nieder1-2/+2
2011-02-07Make hash-object more robust against malformed objectsNguyễn Thái Ngọc Duy1-1/+1
2011-02-03Convert ce_path_match() to use match_pathspec_depth()Nguyễn Thái Ngọc Duy1-23/+1
2011-02-03Convert ce_path_match() to use struct pathspecNguyễn Thái Ngọc Duy1-3/+4
2010-12-03Merge branch 'jj/icase-directory'Junio C Hamano1-0/+23
2010-10-06Support case folding for git add when core.ignorecase=trueJoshua Jensen1-0/+23
2010-08-11core: Stop leaking ondisk_cache_entrysJonathan Nieder1-1/+4
2010-02-02Correct spelling of 'REUC' extensionShawn O. Pearce1-1/+1
2010-01-24Make ce_uptodate() trustworthy againJunio C Hamano1-2/+4
2010-01-21Remove diff machinery dependency from read-cacheLinus Torvalds1-78/+0
2010-01-20Merge branch 'jc/cache-unmerge'Junio C Hamano1-0/+18
2010-01-20Merge branch 'jc/symbol-static'Junio C Hamano1-2/+4
2010-01-13Merge branch 'cc/reset-more'Junio C Hamano1-2/+1
2010-01-13Merge branch 'nd/sparse'Junio C Hamano1-3/+14
2010-01-12read-cache.c: mark file-local functions staticJunio C Hamano1-2/+4
2010-01-03"reset --merge": fix unmerged caseJunio C Hamano1-2/+1
2009-12-27Merge branch 'nf/maint-fix-index-ext-len-on-be64' into maintJunio C Hamano1-1/+1
2009-12-27read_index(): fix reading extension size on BE 64-bit archsNathaniel W Filardo1-1/+1
2009-12-25resolve-undo: record resolved conflicts in a new index extension sectionJunio C Hamano1-0/+18
2009-12-14ie_match_stat(): do not ignore skip-worktree bit with CE_MATCH_IGNORE_VALIDNguyễn Thái Ngọc Duy1-3/+18
2009-08-23Teach Git to respect skip-worktree bit (reading part)Nguyễn Thái Ngọc Duy1-6/+2
2009-08-21reset: make the reminder output consistent with "checkout"Matthieu Moy1-6/+20
2009-08-21Rename REFRESH_SAY_CHANGED to REFRESH_IN_PORCELAIN.Matthieu Moy1-1/+1
2009-06-27Use die_errno() instead of die() when checking syscallsThomas Rast1-1/+1
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast1-3/+3
2009-03-15checkout bugfix: use stat.mtime instead of stat.ctime in two placesKjetil Barvik1-2/+2
2009-03-08Not all systems use st_[cm]tim field for ns resolution file timestampJunio C Hamano1-2/+2
2009-03-07Record ns-timestamps if possible, but do not use it without USE_NSECKjetil Barvik1-25/+4
2009-02-23write_index(): update index_state->timestamp after flushing to diskKjetil Barvik1-2/+10
2009-02-19make USE_NSEC work as expectedKjetil Barvik1-14/+56
2009-02-18check_updates(): effective removal of cache entries marked CE_REMOVEKjetil Barvik1-0/+20
2009-01-28add -u: do not fail to resolve a path as deletedJunio C Hamano1-0/+20
2008-12-17Make 'ce_compare_link()' use the new 'strbuf_readlink()'Linus Torvalds1-14/+8
2008-12-07read-cache.c: typofix in commentJunio C Hamano1-1/+1
2008-11-30git add --intent-to-add: do not let an empty blob be committed by accidentJunio C Hamano1-0/+8