aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
AgeCommit message (Expand)AuthorFilesLines
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-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
2018-08-10editor: add a function to launch the sequence editorAlban Gruin1-0/+1
2018-08-02Merge branch 'jt/commit-graph-per-object-store'Junio C Hamano1-1/+0
2018-08-02Merge branch 'en/dirty-merge-fixes'Junio C Hamano1-6/+10
2018-08-02Merge branch 'jm/cache-entry-from-mem-pool'Junio C Hamano1-2/+62
2018-08-02Merge branch 'bc/object-id'Junio C Hamano1-3/+3
2018-07-30cache.h: extract enum declaration from inside a struct declarationJohannes Schindelin1-11/+13
2018-07-18check_replace_refs: rename to read_replace_refsJeff King1-1/+1
2018-07-18check_replace_refs: fix outdated commentJeff King1-3/+1
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-118/+1
2018-07-17commit-graph: add repo arg to graph readersJonathan Tan1-1/+0
2018-07-16cache: update object ID functions for the_hash_algobrian m. carlson1-3/+3
2018-07-11merge-recursive: fix assumption that head tree being merged is HEADElijah Newren1-4/+7
2018-07-03index_has_changes(): avoid assuming operating on the_indexElijah Newren1-5/+6
2018-07-03block alloc: add validations around cache_entry lifecyleJameson Miller1-0/+6
2018-07-03block alloc: allocate cache entries from mem_poolJameson Miller1-0/+21
2018-07-03block alloc: add lifecycle APIs for cache_entry structsJameson Miller1-6/+34
2018-07-03read-cache: teach make_cache_entry to take object_idJameson Miller1-1/+6
2018-07-03read-cache: teach refresh_cache_entry to take istateJameson Miller1-1/+1
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-118/+1
2018-06-25Merge branch 'sb/object-store-alloc'Junio C Hamano1-9/+0
2018-06-01Merge branch 'nd/command-list'Junio C Hamano1-5/+0
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-19/+9
2018-05-29Sync with Git 2.17.1Junio C Hamano1-2/+10
2018-05-23Merge branch 'nd/pack-objects-pack-struct'Junio C Hamano1-0/+2
2018-05-23Merge branch 'sb/oid-object-info'Junio C Hamano1-2/+5
2018-05-23Merge branch 'nd/pack-format-doc'Junio C Hamano1-0/+5
2018-05-22Sync with Git 2.16.4Junio C Hamano1-2/+10
2018-05-22Sync with Git 2.15.2Junio C Hamano1-2/+10
2018-05-22Sync with Git 2.14.4Junio C Hamano1-2/+10
2018-05-22Sync with Git 2.13.7Junio C Hamano1-2/+10
2018-05-21verify_path: disallow symlinks in .gitmodulesJeff King1-1/+1
2018-05-21is_ntfs_dotgit: match other .git filesJohannes Schindelin1-1/+9
2018-05-21Move declaration for alias.c to alias.hNguyễn Thái Ngọc Duy1-5/+0
2018-05-18cache: convert get_graft_file to handle arbitrary repositoriesStefan Beller1-1/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-117/+0
2018-05-16alloc: allow arbitrary repositories for alloc functionsStefan Beller1-16/+0
2018-05-13pack-format.txt: more details on pack file formatNguyễn Thái Ngọc Duy1-0/+5
2018-05-09alloc: add repository argument to alloc_commit_indexStefan Beller1-1/+2
2018-05-09alloc: add repository argument to alloc_reportStefan Beller1-1/+2
2018-05-09alloc: add repository argument to alloc_object_nodeStefan Beller1-1/+2
2018-05-09alloc: add repository argument to alloc_tag_nodeStefan Beller1-1/+2
2018-05-09alloc: add repository argument to alloc_commit_nodeStefan Beller1-1/+2
2018-05-09alloc: add repository argument to alloc_tree_nodeStefan Beller1-1/+2
2018-05-09alloc: add repository argument to alloc_blob_nodeStefan Beller1-1/+2
2018-05-08Merge branch 'sb/object-store-replace'Junio C Hamano1-19/+0
2018-05-08Merge branch 'ds/commit-graph'Junio C Hamano1-0/+1
2018-05-08Merge branch 'dj/runtime-prefix'Junio C Hamano1-0/+1
2018-05-02sha1_file: only expose empty object constants through git_hash_algobrian m. carlson1-16/+0
2018-05-02sha1-file: add functions for hex empty tree and blob OIDsbrian m. carlson1-0/+3
2018-05-02Update struct index_state to use struct object_idbrian m. carlson1-1/+1
2018-05-02sha1-file: convert freshen functions to object_idbrian m. carlson1-1/+1
2018-05-02packfile: remove unused member from struct pack_entrybrian m. carlson1-1/+0
2018-05-02Remove unused member in struct object_contextbrian m. carlson1-1/+0
2018-05-02cache: add a function to read an object ID from a bufferbrian m. carlson1-0/+5
2018-04-26cache.h: allow oid_object_info to handle arbitrary repositoriesStefan Beller1-5/+4
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-1/+2
2018-04-26cache.h: add repository argument to oid_object_info_extendedStefan Beller1-1/+4
2018-04-25Merge branch 'jk/relative-directory-fix'Junio C Hamano1-1/+1
2018-04-16pack-objects: turn type and in_pack_type to bitfieldsNguyễn Thái Ngọc Duy1-0/+2
2018-04-12object-store: move lookup_replace_object to replace-object.hStefan Beller1-19/+0
2018-04-11exec_cmd: RUNTIME_PREFIX on some POSIX systemsDan Jacques1-0/+1
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-87/+0
2018-04-11commit-graph: add core.commitGraph settingDerrick Stolee1-0/+1
2018-04-10Merge branch 'nd/remove-ignore-env-field'Junio C Hamano1-1/+1
2018-04-10Merge branch 'bc/object-id'Junio C Hamano1-21/+21
2018-04-10Merge branch 'ti/fetch-everything-local-optim'Junio C Hamano1-0/+2
2018-03-30set_git_dir: die when setenv() failsJeff King1-1/+1
2018-03-26sha1_file: add repository argument to map_sha1_fileStefan Beller1-1/+0
2018-03-26sha1_file: add repository argument to sha1_file_nameStefan Beller1-6/+0
2018-03-26object-store: move packed_git and packed_git_mru to object storeStefan Beller1-29/+0
2018-03-23object-store: migrate alternates struct and functions from cache.hStefan Beller1-51/+0
2018-03-22Merge branch 'tg/split-index-fixes' into maintJunio C Hamano1-3/+5
2018-03-21Merge branch 'ma/skip-writing-unchanged-index'Junio C Hamano1-0/+4
2018-03-14fetch-pack.c: use oidset to check existence of loose objectTakuto Ikuta1-0/+2
2018-03-14Convert lookup_replace_object to struct object_idbrian m. carlson1-4/+4