aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
AgeCommit message (Expand)AuthorFilesLines
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-6/+0
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-520/+0
2023-06-21repository.h: move declaration of the_index from cache.hElijah Newren1-4/+0
2023-06-21merge.h: move declarations for merge.c from cache.hElijah Newren1-11/+0
2023-06-21diff.h: move declaration for global in diff.c from cache.hElijah Newren1-3/+0
2023-06-21preload-index.h: move declarations for preload-index.c from elsewhereElijah Newren1-3/+0
2023-06-21sparse-index.h: move declarations for sparse-index.c from cache.hElijah Newren1-2/+0
2023-06-21name-hash.h: move declarations for name-hash.c from cache.hElijah Newren1-9/+0
2023-06-21run-command.h: move declarations for run-command.c from cache.hElijah Newren1-3/+0
2023-06-21statinfo: move stat_{data,validity} functions from cache/read-cacheElijah Newren1-48/+0
2023-06-21add: modify add_files_to_cache() to avoid globalsElijah Newren1-1/+3
2023-06-21setup: adopt shared init-db & clone codeElijah Newren1-9/+0
2023-06-21init-db, clone: change unnecessary global into passed parameterElijah Newren1-1/+2
2023-04-24cache.h: remove unnecessary headersElijah Newren1-2/+0
2023-04-24cache,tree: move basic name compare functions from read-cache to treeElijah Newren1-5/+0
2023-04-24cache,tree: move cmp_cache_name_compare from tree.[ch] to read-cache.cElijah Newren1-1/+1
2023-04-24tree-diff.c: move S_DIFFTREE_IFXMIN_NEQ define from cache.hElijah Newren1-15/+0
2023-04-24dir.h: move DTYPE defines from cache.hElijah Newren1-14/+0
2023-04-24versioncmp.h: move declarations for versioncmp.c functions from cache.hElijah Newren1-2/+0
2023-04-24ws.h: move declarations for ws.c functions from cache.hElijah Newren1-26/+0
2023-04-24match-trees.h: move declarations for match-trees.c functions from cache.hElijah Newren1-4/+0
2023-04-24pkt-line.h: move declarations for pkt-line.c functions from cache.hElijah Newren1-3/+0
2023-04-24base85.h: move declarations for base85.c functions from cache.hElijah Newren1-4/+0
2023-04-24copy.h: move declarations for copy.c functions from cache.hElijah Newren1-6/+0
2023-04-24server-info.h: move declarations for server-info.c functions from cache.hElijah Newren1-3/+0
2023-04-24packfile.h: move pack_window and pack_entry from cache.hElijah Newren1-14/+0
2023-04-24symlinks.h: move declarations for symlinks.c functions from cache.hElijah Newren1-22/+0
2023-04-18protocol.h: move definition of DEFAULT_GIT_PORT from cache.hElijah Newren1-21/+0
2023-04-11mailmap, quote: move declarations of global vars to correct unitElijah Newren1-5/+0
2023-04-11cache.h: remove unnecessary includesElijah Newren1-4/+0
2023-04-11pager.h: move declarations for pager.c functions from cache.hElijah Newren1-13/+0
2023-04-11editor: move editor-related functions and declarations into common fileElijah Newren1-3/+0
2023-04-11object.h: move some inline functions and defines from cache.hElijah Newren1-42/+0
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren1-123/+0
2023-04-11git-zlib: move declarations for git-zlib functions from cache.hElijah Newren1-24/+1
2023-04-11object-name.h: move declarations for object-name.c functions from cache.hElijah Newren1-110/+0
2023-04-11treewide: be explicit about dependence on mem-pool.hElijah Newren1-1/+0
2023-04-11treewide: be explicit about dependence on oid-array.hElijah Newren1-1/+0
2023-04-11treewide: be explicit about dependence on pack-revindex.hElijah Newren1-1/+0
2023-04-11treewide: be explicit about dependence on convert.hElijah Newren1-1/+0
2023-04-11treewide: be explicit about dependence on advice.hElijah Newren1-1/+0
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-2/+0
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-17/+2
2023-03-28post-cocci: adjust comments for recent repo_* migrationÆvar Arnfjörð Bjarmason1-2/+2
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-15/+0
2023-03-21write-or-die.h: move declarations for write-or-die.c functions from cache.hElijah Newren1-74/+0
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-163/+0
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-207/+0
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren1-32/+0
2023-03-21path.h: move function declarations for path.c functions from cache.hElijah Newren1-59/+0
2023-03-21cache.h: remove expand_user_path()Elijah Newren1-2/+0
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren1-27/+0
2023-03-21environment: move comment_line_char from cache.hElijah Newren1-7/+0
2023-03-19Merge branch 'jk/bundle-use-dash-for-stdfiles'Junio C Hamano1-0/+3
2023-03-06bundle: don't blindly apply prefix_filename() to "-"Junio C Hamano1-0/+3
2023-02-23replace-object.h: move read_replace_refs declaration from cache.h to hereElijah Newren1-8/+0
2023-02-23dir.h: refactor to no longer need to include cache.hElijah Newren1-20/+11
2023-02-23object.h: stop depending on cache.h; make cache.h depend on object.hElijah Newren1-20/+1
2023-02-23ident.h: move ident-related declarations out of cache.hElijah Newren1-58/+0
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-1/+0
2023-02-23hex.h: move some hex-related declarations from cache.hElijah Newren1-78/+1
2023-02-23hash.h: move some oid-related declarations from cache.hElijah Newren1-34/+0
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-75/+0
2023-02-22Merge branch 'ab/the-index-compatibility'Junio C Hamano1-11/+1
2023-02-15Merge branch 'rs/size-t-fixes'Junio C Hamano1-2/+4
2023-02-10cocci & cache.h: remove "USE_THE_INDEX_COMPATIBILITY_MACROS"Ævar Arnfjörð Bjarmason1-8/+1
2023-02-10cocci & cache.h: apply pending "index_cache_pos" ruleÆvar Arnfjörð Bjarmason1-1/+0
2023-02-10cocci & cache.h: fully apply "active_nr" part of index-compatibilityÆvar Arnfjörð Bjarmason1-2/+0
2023-02-06read-cache: use size_t for {base,df}_name_compare()René Scharfe1-2/+4
2023-01-17treewide: always have a valid "index_state.repo" memberÆvar Arnfjörð Bjarmason1-3/+6
2023-01-16cache API: add a "INDEX_STATE_INIT" macro/function, add release_index()Ævar Arnfjörð Bjarmason1-0/+13
2023-01-05Merge branch 'ab/no-more-git-global-super-prefix'Junio C Hamano1-2/+0
2022-12-26read-tree: add "--super-prefix" option, eliminate globalÆvar Arnfjörð Bjarmason1-2/+0
2022-12-13ws: drop unused parameter from ws_blank_line()Jeff King1-1/+1
2022-11-21cocci: apply "pending" index-compatibility to some "builtin/*.c"Ævar Arnfjörð Bjarmason1-5/+0
2022-11-21{builtin/*,repository}.c: add & use "USE_THE_INDEX_VARIABLE"Ævar Arnfjörð Bjarmason1-1/+5
2022-11-21cocci & cache.h: apply variable section of "pending" index-compatibilityÆvar Arnfjörð Bjarmason1-3/+0
2022-11-21cocci & cache.h: apply a selection of "pending" index-compatibilityÆvar Arnfjörð Bjarmason1-5/+0
2022-11-21read-cache API & users: make discard_index() return voidÆvar Arnfjörð Bjarmason1-1/+1
2022-11-21cocci & cache.h: remove rarely used "the_index" compat macrosÆvar Arnfjörð Bjarmason1-10/+0
2022-11-21cache.h: remove unused "the_index" compat macrosÆvar Arnfjörð Bjarmason1-5/+0
2022-08-29Merge branch 'ds/decorate-filter-tweak'Junio C Hamano1-1/+0
2022-08-18Merge branch 'vd/sparse-reset-checkout-fixes'Junio C Hamano1-0/+9
2022-08-14Merge branch 'ab/tech-docs-to-help'Junio C Hamano1-2/+1
2022-08-08cache.h: create 'index_name_pos_sparse()'Victoria Dye1-0/+9
2022-08-05refs: use ref_namespaces for replace refs baseDerrick Stolee1-1/+0
2022-08-04docs: move pack format docs to man section 5Ævar Arnfjörð Bjarmason1-2/+1
2022-07-18ident: rename commit_rewrite_person() to apply_mailmap_to_header()Siddharth Asthana1-3/+3
2022-07-18ident: move commit_rewrite_person() to ident.cSiddharth Asthana1-0/+6
2022-06-03Merge branch 'ds/sparse-sparse-checkout'Junio C Hamano1-8/+25
2022-06-03Merge branch 'ns/batch-fsync'Junio C Hamano1-1/+11
2022-05-23sparse-index: introduce partially-sparse indexesDerrick Stolee1-8/+25
2022-05-04Merge branch 'ds/midx-normalize-pathname-before-comparison'Junio C Hamano1-1/+1
2022-04-25cache: use const char * for get_object_directory()Derrick Stolee1-1/+1
2022-04-06core.fsync: use batch mode and sync loose objects by default on WindowsNeeraj Singh1-0/+4
2022-04-06core.fsyncmethod: batched disk flushes for loose-objectsNeeraj Singh1-1/+7
2022-04-06Merge branch 'ns/core-fsyncmethod' into ns/batch-fsyncJunio C Hamano1-0/+48
2022-04-04Merge branch 'jh/builtin-fsmonitor-part2'Junio C Hamano1-1/+0
2022-04-04Merge branch 'ns/core-fsyncmethod'Junio C Hamano1-2/+2
2022-03-29core.fsync: fix incorrect expression for default configurationNeeraj Singh1-2/+2
2022-03-25Merge branch 'ps/fsync-refs'Junio C Hamano1-2/+5
2022-03-25Merge branch 'ns/core-fsyncmethod'Junio C Hamano1-0/+48
2022-03-25fsmonitor: config settings are repository-specificJeff Hostetler1-1/+0
2022-03-16Merge branch 'ab/object-file-api-updates'Junio C Hamano1-3/+17
2022-03-15core.fsync: new option to harden referencesPatrick Steinhardt1-2/+5
2022-03-15Merge branch 'ns/core-fsyncmethod' into ps/fsync-refsJunio C Hamano1-0/+48
2022-03-15core.fsync: documentation and user-friendly aggregate optionsNeeraj Singh1-3/+20
2022-03-10core.fsync: new option to harden the indexNeeraj Singh1-0/+1
2022-03-10core.fsync: introduce granular fsync control infrastructureNeeraj Singh1-0/+23
2022-03-10core.fsyncmethod: add writeout-only modeNeeraj Singh1-0/+7
2022-03-09Merge branch 'en/present-despite-skipped'Junio C Hamano1-0/+1
2022-03-01repo_read_index: add config to expect files outside sparse patternsElijah Newren1-0/+1
2022-02-25object-file API: pass an enum to read_object_with_reference()Ævar Arnfjörð Bjarmason1-1/+1
2022-02-25object-file API: have hash_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason1-1/+2
2022-02-25object-file API: split up and simplify check_object_signature()Ævar Arnfjörð Bjarmason1-4/+8
2022-02-25object API users + docs: check <0, not !0 with check_object_signature()Ævar Arnfjörð Bjarmason1-0/+3
2022-02-25object API docs: move check_object_signature() docs to cache.hÆvar Arnfjörð Bjarmason1-0/+6
2022-02-25Merge branch 'ab/date-mode-release'Junio C Hamano1-50/+0
2022-02-16Merge branch 'ab/auto-detect-zlib-compress2'Junio C Hamano1-1/+0
2022-02-16date API: create a date.h, split from cache.hÆvar Arnfjörð Bjarmason1-48/+0
2022-02-16cache.h: remove always unused show_date_human() declarationÆvar Arnfjörð Bjarmason1-2/+0
2022-02-05Merge branch 'ms/update-index-racy'Junio C Hamano1-0/+1
2022-02-05Merge branch 'ab/cat-file'Junio C Hamano1-0/+1
2022-01-26compat: auto-detect if zlib has uncompress2()Ævar Arnfjörð Bjarmason1-1/+0
2022-01-12Merge branch 'ma/header-dup-cleanup'Junio C Hamano1-2/+0
2022-01-10cache.h: drop duplicate `ensure_full_index()` declarationMartin Ågren1-2/+0
2022-01-07update-index: refresh should rewrite index in case of racy timestampsMarc Strapetz1-0/+1
2022-01-05Merge branch 'en/keep-cwd'Junio C Hamano1-0/+2
2021-12-30cat-file: use GET_OID_ONLY_TO_DIE in --(textconv|filters)Ævar Arnfjörð Bjarmason1-0/+1
2021-12-15Merge branch 'ew/test-wo-fsync'Junio C Hamano1-0/+1
2021-12-10Merge branch 'vd/sparse-reset'Junio C Hamano1-0/+10
2021-12-09setup: introduce startup_info->original_cwdElijah Newren1-0/+2
2021-11-29reset: make sparse-aware (except --mixed)Victoria Dye1-0/+10
2021-11-04strbuf_addftime(): handle "%s" manuallyJeff King1-0/+1
2021-10-29tests: disable fsync everywhereEric Wong1-0/+1
2021-10-25Merge branch 'ab/fix-commit-error-message-upon-unwritable-object-store'Junio C Hamano1-0/+1
2021-10-25Merge branch 'ab/fsck-unexpected-type'Junio C Hamano1-3/+42
2021-10-12commit: fix duplication regression in permission error outputÆvar Arnfjörð Bjarmason1-0/+1
2021-10-11Merge branch 'ab/designated-initializers'Junio C Hamano1-1/+3
2021-10-11Merge branch 'jk/ref-paranoia'Junio C Hamano1-8/+0
2021-10-06Merge branch 'ab/repo-settings-cleanup'Junio C Hamano1-7/+0
2021-10-03Merge branch 'hn/refs-errno-cleanup'Junio C Hamano1-43/+0
2021-10-01fsck: report invalid object type-path combinationsÆvar Arnfjörð Bjarmason1-1/+2
2021-10-01object-file.c: stop dying in parse_loose_header()Ævar Arnfjörð Bjarmason1-2/+9
2021-10-01object-file.c: return ULHR_TOO_LONG on "header too long"Ævar Arnfjörð Bjarmason1-1/+4
2021-10-01object-file.c: use "enum" return type for unpack_loose_header()Ævar Arnfjörð Bjarmason1-4/+15
2021-10-01object-file.c: simplify unpack_loose_short_header()Ævar Arnfjörð Bjarmason1-1/+16
2021-10-01object-file.c: make parse_loose_header_extended() publicÆvar Arnfjörð Bjarmason1-1/+3
2021-09-27*.h: move some *_INIT to designated initializersÆvar Arnfjörð Bjarmason1-1/+3
2021-09-27*.h _INIT macros: don't specify fields equal to 0Ævar Arnfjörð Bjarmason1-1/+1
2021-09-27repack, prune: drop GIT_REF_PARANOIA settingsJeff King1-8/+0
2021-09-23Merge branch 'rs/drop-core-compression-vars'Junio C Hamano1-1/+0
2021-09-22environment.c: remove test-specific "ignore_untracked..." variableÆvar Arnfjörð Bjarmason1-7/+0
2021-09-20Merge branch 'jv/pkt-line-batch'Junio C Hamano1-0/+2
2021-09-20Merge branch 'lh/systemd-timers'Junio C Hamano1-0/+7
2021-09-12compression: drop write-only core_compression_* variablesRené Scharfe1-1/+0
2021-09-07cache.h: Introduce a generic "xdg_config_home_for(…)" functionLénaïc Huard1-0/+7
2021-09-01pkt-line: add stdio packet write functionsJacob Vosmaer1-0/+2
2021-08-25refs file backend: move raceproof_create_file() hereÆvar Arnfjörð Bjarmason1-43/+0
2021-08-24Merge branch 'js/expand-runtime-prefix'Junio C Hamano1-1/+3
2021-08-02Merge branch 'jt/bulk-prefetch'Junio C Hamano1-0/+9
2021-07-26expand_user_path: allow in-flight topics to keep using the old nameJunio C Hamano1-0/+2
2021-07-26Use a better name for the function interpolating pathsJohannes Schindelin1-1/+1
2021-07-23unpack-trees: refactor prefetching codeJonathan Tan1-0/+9
2021-07-13*.h: add a few missing __attribute__((format))Ævar Arnfjörð Bjarmason1-0/+1
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