aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
AgeCommit message (Expand)AuthorFilesLines
2021-05-16Merge branch 'mt/parallel-checkout-part-3'Junio C Hamano1-5/+9
2021-05-11Merge branch 'jk/symlinked-dotgitx-cleanup'Junio C Hamano1-0/+1
2021-05-07Merge branch 'mt/add-rm-in-sparse-checkout'Junio C Hamano1-7/+8
2021-05-05make_transient_cache_entry(): optionally alloc from mem_poolMatheus Tavares1-5/+9
2021-05-04t0060: test ntfs/hfs-obscured dotfilesJeff King1-0/+1
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano1-4/+21
2021-04-14cache: move ensure_full_index() to cache.hDerrick Stolee1-0/+1
2021-04-14*: remove 'const' qualifier for struct index_stateDerrick Stolee1-3/+3
2021-04-08refresh_index(): add flag to ignore SKIP_WORKTREE entriesMatheus Tavares1-7/+8
2021-04-02Merge branch 'mt/parallel-checkout-part-1'Junio C Hamano1-24/+0
2021-03-30Merge branch 'ab/read-tree'Junio C Hamano1-1/+1
2021-03-30Merge branch 'mt/checkout-remove-nofollow'Junio C Hamano1-1/+1
2021-03-30sparse-index: add index.sparse config optionDerrick Stolee1-0/+1
2021-03-30sparse-index: convert from full to sparseDerrick Stolee1-0/+2
2021-03-30sparse-checkout: hold pattern list in indexDerrick Stolee1-0/+2
2021-03-30sparse-index: implement ensure_full_index()Derrick Stolee1-1/+12
2021-03-23entry: extract a header file for entry.c functionsMatheus Tavares1-24/+0
2021-03-20tree.c API: move read_tree() into builtin/ls-files.cÆvar Arnfjörð Bjarmason1-1/+1
2021-03-18checkout: don't follow symlinks when removing entriesMatheus Tavares1-1/+1
2021-03-08Sync with Git 2.30.2 for CVE-2021-21300Junio C Hamano1-0/+1
2021-02-12Sync with 2.29.3Johannes Schindelin1-0/+1
2021-02-12Sync with 2.28.1Johannes Schindelin1-0/+1
2021-02-12Sync with 2.27.1Johannes Schindelin1-0/+1
2021-02-12Sync with 2.26.3Johannes Schindelin1-0/+1
2021-02-12Sync with 2.25.5Johannes Schindelin1-0/+1
2021-02-12Sync with 2.24.4Johannes Schindelin1-0/+1
2021-02-12Sync with 2.23.4Johannes Schindelin1-0/+1
2021-02-12Sync with 2.22.5Johannes Schindelin1-0/+1
2021-02-12Sync with 2.21.4Johannes Schindelin1-0/+1
2021-02-12Sync with 2.20.5Johannes Schindelin1-0/+1
2021-02-12Sync with 2.19.6Johannes Schindelin1-0/+1
2021-02-12Sync with 2.18.5Johannes Schindelin1-0/+1
2021-02-12Sync with 2.17.6Johannes Schindelin1-0/+1
2021-02-12checkout: fix bug that makes checkout follow symlinks in leading pathMatheus Tavares1-0/+1
2021-02-10Merge branch 'ds/more-index-cleanups'Junio C Hamano1-0/+1
2021-01-25Merge branch 'ps/config-env-pairs'Junio C Hamano1-0/+1
2021-01-23repository: add repo reference to index_stateDerrick Stolee1-0/+1
2021-01-15Merge branch 'bc/rev-parse-path-format'Junio C Hamano1-0/+2
2021-01-15config: allow specifying config entries via envvar pairsPatrick Steinhardt1-0/+1
2020-12-17Merge branch 'jk/oid-array-cleanup'Junio C Hamano1-94/+0
2020-12-12abspath: add a function to resolve paths with missing componentsbrian m. carlson1-0/+2
2020-12-08Merge branch 'mt/do-not-use-scld-in-working-tree'Junio C Hamano1-1/+6
2020-12-04cache.h: move hash/oid functions to hash.hJeff King1-94/+0
2020-12-02apply: don't use core.sharedRepository to create working tree filesMatheus Tavares1-1/+6
2020-11-24move sleep_millisec to git-compat-util.hHan-Wen Nienhuys1-1/+0
2020-09-22builtin/clone: avoid failure with GIT_DEFAULT_HASHbrian m. carlson1-1/+1
2020-09-09Merge branch 'jt/interpret-branch-name-fallback'Junio C Hamano1-8/+19
2020-09-02wt-status: tolerate dangling marksJonathan Tan1-0/+7
2020-09-02sha1-name: replace unsigned int with option structJonathan Tan1-8/+12
2020-08-27Merge branch 'jk/leakfix'Junio C Hamano1-2/+2
2020-08-17config: drop git_config_get_string_const()Jeff King1-2/+2
2020-07-30Merge branch 'jk/reject-newer-extensions-in-v0' into masterJunio C Hamano1-0/+2
2020-07-16Merge branch 'jn/v0-with-extensions-fix' into masterJunio C Hamano1-1/+0
2020-07-16verify_repository_format(): complain about new extensions in v0 repoJeff King1-0/+2
2020-07-16repository: allow repository format upgrade with extensionsJonathan Nieder1-1/+0
2020-07-06Merge branch 'js/default-branch-name'Junio C Hamano1-1/+1
2020-06-24init: allow specifying the initial branch name for the new repositoryJohannes Schindelin1-1/+1
2020-06-05repository: add a helper function to perform repository format upgradeXin Li1-0/+1
2020-04-22Merge branch 'jk/oid-array-cleanups'Junio C Hamano1-1/+1
2020-03-30oid_array: rename source file from sha1-arrayJeff King1-1/+1
2020-03-26Merge branch 'bc/filter-process'Junio C Hamano1-0/+1
2020-03-26Merge branch 'bc/sha-256-part-1-of-4'Junio C Hamano1-2/+23
2020-03-16convert: provide additional metadata to filtersbrian m. carlson1-0/+1
2020-03-10real_path_if_valid(): remove unsafe APIAlexandr Miloslavskiy1-1/+0
2020-03-10real_path: remove unsafe APIAlexandr Miloslavskiy1-1/+0
2020-03-06set_git_dir: fix crash when used with real_path()Alexandr Miloslavskiy1-1/+1
2020-02-24init-db: move writing repo version into a functionbrian m. carlson1-0/+1
2020-02-24builtin/init-db: allow specifying hash algorithm on command linebrian m. carlson1-1/+2
2020-02-24setup: allow check_repository_format to read repository formatbrian m. carlson1-1/+3
2020-02-24hex: add functions to parse hex object IDs in any algorithmbrian m. carlson1-0/+10
2020-02-24hex: introduce parsing variants taking hash algorithmsbrian m. carlson1-0/+7
2020-02-14Merge branch 'mt/use-passed-repo-more-in-funcs'Junio C Hamano1-1/+2
2020-01-31sha1-file: allow check_object_signature() to handle any repoMatheus Tavares1-1/+2
2020-01-13fsmonitor: change last update timestamp on the index_state to opaque tokenKevin Willford1-1/+1
2020-01-06Merge branch 'ds/sparse-cone'Junio C Hamano1-2/+2
2020-01-02sparse-checkout: use extern for global variablesDerrick Stolee1-2/+2
2019-12-25Merge branch 'ds/sparse-cone'Junio C Hamano1-1/+5
2019-12-16Merge branch 'hw/doc-in-header'Junio C Hamano1-4/+37
2019-11-22unpack-trees: add progress to clear_ce_flags()Derrick Stolee1-0/+2
2019-11-22sparse-checkout: add 'cone' modeDerrick Stolee1-1/+3
2019-11-18cache: move doc to cache.hHeba Waly1-4/+37
2019-11-13hex: drop sha1_to_hex()Jeff King1-3/+4
2019-11-11hex: drop sha1_to_hex_r()Jeff King1-1/+0
2019-10-15Merge branch 'js/azure-pipelines-msvc'Junio C Hamano1-0/+13
2019-10-11Merge branch 'bc/object-id-part17'Junio C Hamano1-7/+1
2019-10-07Merge branch 'ss/get-time-cleanup'Junio C Hamano1-3/+2
2019-10-07Merge branch 'tg/stash-refresh-index'Junio C Hamano1-0/+18
2019-10-06msvc: avoid using minus operator on unsigned typesJohannes Schindelin1-0/+13
2019-09-20factor out refresh_and_write_cache functionThomas Gummerer1-0/+18
2019-09-18Merge branch 'md/list-objects-filter-combo'Junio C Hamano1-0/+22
2019-09-18Merge branch 'cc/multi-promisor'Junio C Hamano1-2/+0
2019-09-12Quit passing 'now' to date codeStephen P. Smith1-3/+2
2019-08-19cache: remove null_sha1brian m. carlson1-7/+1
2019-07-29Merge branch 'sg/rebase-progress' into maintJunio C Hamano1-0/+1
2019-07-19Merge branch 'nd/tree-walk-with-repo'Junio C Hamano1-3/+4
2019-07-09Merge branch 'sg/rebase-progress'Junio C Hamano1-0/+1
2019-06-28list-objects-filter-options: clean up use of ALLOC_GROWMatthew DeVore1-0/+22
2019-06-27match-trees.c: remove the_repo from shift_tree*()Nguyễn Thái Ngọc Duy1-2/+2
2019-06-27sha1-file.c: remove the_repo from read_object_with_reference()Nguyễn Thái Ngọc Duy1-1/+2
2019-06-25Move core_partial_clone_filter_default to promisor-remote.cChristian Couder1-1/+0
2019-06-25Move repository_format_partial_clone to promisor-remote.cChristian Couder1-1/+0
2019-06-24pager: add a helper function to clear the last line in the terminalSZEDER Gábor1-0/+1
2019-06-20hash.h: move object_id definition from cache.hJeff King1-24/+0
2019-05-28fill_stat_cache_info(): prepare for an fsmonitor fixJohannes Schindelin1-1/+1
2019-05-19Merge branch 'js/fsmonitor-refresh-after-discarding-index'Junio C Hamano1-1/+2
2019-05-13Merge branch 'dl/no-extern-in-func-decl'Junio C Hamano1-178/+178
2019-05-09Merge branch 'nd/sha1-name-c-wo-the-repository'Junio C Hamano1-16/+36
2019-05-09Merge branch 'en/merge-directory-renames'Junio C Hamano1-1/+1
2019-05-08fsmonitor: force a refresh after the index was discardedJohannes Schindelin1-1/+2
2019-05-05*.[ch]: manually align parameter listsDenton Liu1-21/+21
2019-05-05*.[ch]: remove extern from function declarations using sedDenton Liu1-2/+2
2019-05-05*.[ch]: remove extern from function declarations using spatchDenton Liu1-170/+170
2019-04-25Merge branch 'bp/post-index-change-hook'Junio C Hamano1-1/+3
2019-04-22Merge branch 'ps/stash-in-c'Junio C Hamano1-0/+5
2019-04-16sha1-name.c: remove the_repo from get_oid_mb()Nguyễn Thái Ngọc Duy1-1/+2
2019-04-16sha1-name.c: remove the_repo from other get_oid_*Nguyễn Thái Ngọc Duy1-6/+12
2019-04-16sha1-name.c: remove the_repo from maybe_die_on_misspelt_object_nameNguyễn Thái Ngọc Duy1-1/+3
2019-04-16sha1-name.c: add repo_get_oid()Nguyễn Thái Ngọc Duy1-1/+2
2019-04-16sha1-name.c: remove the_repo from get_oid_1()Nguyễn Thái Ngọc Duy1-2/+5
2019-04-16sha1-name.c: add repo_for_each_abbrev()Nguyễn Thái Ngọc Duy1-1/+2
2019-04-16sha1-name.c: add repo_find_unique_abbrev_r()Nguyễn Thái Ngọc Duy1-2/+4
2019-04-08refs.c: remove the_repo from substitute_branch_name()Nguyễn Thái Ngọc Duy1-2/+6
2019-04-08Use 'unsigned short' for mode, like diff_filespec doesElijah Newren1-1/+1
2019-03-20Merge branch 'ma/clear-repository-format'Junio C Hamano1-3/+28
2019-03-07Merge branch 'jh/trace2'Junio C Hamano1-0/+1
2019-03-07Merge branch 'wh/author-committer-ident-config'Junio C Hamano1-2/+11
2019-03-07Merge branch 'tg/checkout-no-overlay'Junio C Hamano1-1/+6
2019-03-07ident: don't require calling prepare_fallback_ident firstThomas Gummerer1-1/+0
2019-03-01setup: fix memory leaks with `struct repository_format`Martin Ågren1-3/+28
2019-03-01ident: add the ability to provide a "fallback identity"Johannes Schindelin1-0/+5
2019-03-01sha1-name.c: add `get_oidf()` which acts like `get_oid()`Paul-Sebastian Ungureanu1-0/+1
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-0/+1
2019-02-15read-cache: add post-index-change hookBen Peart1-1/+3
2019-02-06Merge branch 'jk/loose-object-cache-oid'Junio C Hamano1-3/+3
2019-02-06Merge branch 'lt/date-human'Junio C Hamano1-0/+3
2019-02-06Merge branch 'jk/unused-parameter-cleanup'Junio C Hamano1-1/+1
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-23/+13
2019-02-06Merge branch 'tt/bisect-in-c'Junio C Hamano1-0/+3
2019-02-06Merge branch 'dt/cat-file-batch-ambiguous'Junio C Hamano1-1/+19
2019-02-05Merge branch 'jk/add-ignore-errors-bit-assignment-fix'Junio C Hamano1-0/+1
2019-02-04config: allow giving separate author and committer identsWilliam Hubbs1-2/+11
2019-01-29Merge branch 'bc/tree-walk-oid'Junio C Hamano1-1/+1
2019-01-29Merge branch 'bc/sha-256'Junio C Hamano1-18/+33
2019-01-29Add `human` format to test-toolStephen P. Smith1-0/+2
2019-01-24show_date_relative(): drop unused "tz" parameterJeff King1-1/+1
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-3/+3
2019-01-18Do not print 'dangling' for cat-file in case of ambiguityDavid Turner1-1/+19
2019-01-18Add 'human' date formatLinus Torvalds1-0/+1
2019-01-17add: use separate ADD_CACHE_RENORMALIZE flagJeff King1-0/+1
2019-01-15cache: make oidcpy always copy GIT_MAX_RAWSZ bytesbrian m. carlson1-1/+1
2019-01-14read-cache.c: remove the_* from index_has_changes()Nguyễn Thái Ngọc Duy1-3/+3
2019-01-14sha1-name.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+3
2019-01-14read-cache.c: replace update_index_if_able with repo_&Nguyễn Thái Ngọc Duy1-6/+0
2019-01-14read-cache.c: kill read_index()Nguyễn Thái Ngọc Duy1-8/+3
2019-01-14repository.c: replace hold_locked_index() with repo_hold_locked_index()Nguyễn Thái Ngọc Duy1-1/+1
2019-01-08sha1-file: modernize loose header/stream functionsJeff King1-2/+2
2019-01-08update comment references to sha1_object_info()Jeff King1-1/+1
2019-01-02read-cache: add invalidate parameter to remove_marked_cache_entriesThomas Gummerer1-1/+1
2019-01-02entry: factor out unlink_entry functionThomas Gummerer1-0/+5
2019-01-02wrapper: move is_empty_file() and rename it as is_empty_or_missing_file()Pranit Bauva1-0/+3
2018-11-14Add a base implementation of SHA-256 supportbrian m. carlson1-3/+9
2018-11-14sha1-file: add a constant for hash block sizebrian m. carlson1-0/+4
2018-11-14cache: make hashcmp and hasheq work with larger hashesbrian m. carlson1-10/+12
2018-11-14hex: introduce functions to print arbitrary hashesbrian m. carlson1-6/+9
2018-11-14checkout: print something when checking out pathsNguyễn Thái Ngọc Duy1-2/+2
2018-11-13Merge branch 'bp/refresh-index-using-preload'Junio C Hamano1-0/+3
2018-11-13Merge branch 'ao/submodule-wo-gitmodules-checked-out'Junio C Hamano1-0/+2
2018-11-13Merge branch 'js/mingw-perl5lib'Junio C Hamano1-8/+0
2018-11-13Merge branch 'nd/per-worktree-config'Junio C Hamano1-0/+2
2018-11-02Merge branch 'ag/rebase-i-in-c'Junio C Hamano1-0/+1
2018-10-31config: move Windows-specific config settings into compat/mingw.cJohannes Schindelin1-8/+0
2018-10-30speed up refresh_index() by utilizing preload_index()Ben Peart1-0/+3
2018-10-26Merge branch 'sg/split-index-racefix'Junio C Hamano1-0/+2
2018-10-22worktree: add per-worktree config filesNguyễn Thái Ngọc Duy1-0/+2
2018-10-19Merge branch 'nd/status-refresh-progress'Junio C Hamano1-2/+5
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-6/+8
2018-10-12split-index: smudge and add racily clean cache entries to split indexSZEDER Gábor1-0/+2
2018-10-09submodule: add a helper to check if it is safe to write to .gitmodulesAntonio Ospite1-0/+2
2018-09-21ws.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-09-21sha1-file.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-2/+2
2018-09-21merge.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-2/+4
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/+16
2018-09-17Merge branch 'nd/clone-case-smashing-warning'Junio C Hamano1-0/+1
2018-09-17status: show progress bar if refreshing the index takes too longNguyễn Thái Ngọc Duy1-2/+5
2018-08-29convert "hashcmp() == 0" to hasheq()Jeff King1-4/+4
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-2/+2
2018-08-29introduce hasheq() and oideq()Jeff King1-0/+10
2018-08-23hashcmp: assert constant hash sizeJeff King1-0/+10
2018-08-20Merge branch 'en/incl-forward-decl'Junio C Hamano1-10/+0
2018-08-20Merge branch 'jk/for-each-object-iteration'Junio C Hamano1-56/+0
2018-08-17clone: report duplicate entries on case-insensitive filesystemsDuy Nguyen1-0/+1
2018-08-15Merge branch 'js/vscode'Junio C Hamano1-11/+13
2018-08-15Merge branch 'jk/core-use-replace-refs'Junio C Hamano1-4/+2
2018-08-15Move definition of enum branch_track from cache.h to branch.hElijah Newren1-10/+0
2018-08-14for_each_*_object: move declarations to object-store.hJeff King1-75/+0
2018-08-13for_each_packed_object: support iterating in pack-orderJeff King1-0/+5
2018-08-13for_each_*_object: give more comprehensive docstringsJeff King1-3/+5
2018-08-13for_each_*_object: take flag arguments as enumJeff King1-1/+2
2018-08-13for_each_*_object: store flag definitions in a single locationJeff King1-1/+12