aboutsummaryrefslogtreecommitdiffstats
path: root/environment.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-05Merge branch 'jk/core-comment-string'Junio C Hamano1-1/+1
2024-03-12environment: store comment_line_char as a stringJeff King1-1/+1
2024-03-07Merge branch 'jc/no-lazy-fetch'Junio C Hamano1-0/+3
2024-02-27git: extend --no-lazy-fetch to work across subprocessesJunio C Hamano1-0/+3
2023-12-09config: use git_config_string() for core.checkRoundTripEncodingJeff King1-1/+1
2023-11-02max_tree_depth: lower it for MSVC to avoid stack overflowsJohannes Schindelin1-1/+14
2023-08-31lower core.maxTreeDepth default to 2048Jeff King1-1/+1
2023-08-31add core.maxTreeDepth configJeff King1-0/+1
2023-07-28Merge branch 'rs/pack-objects-parseopt-fix'Junio C Hamano1-1/+1
2023-07-21pack-objects: fix --no-keep-true-parentsRené Scharfe1-1/+1
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-06-29Merge branch 'en/header-split-cache-h-part-3'Junio C Hamano1-2/+3
2023-06-22Merge branch 'ds/disable-replace-refs'Junio C Hamano1-2/+1
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21repository: remove unnecessary include of path.hElijah Newren1-0/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-12repository: create read_replace_refs settingDerrick Stolee1-1/+0
2023-06-12repository: create disable_replace_refs()Derrick Stolee1-1/+1
2023-05-26repository: move 'repository_format_worktree_config' to repo scopeVictoria Dye1-1/+0
2023-04-24treewide: remove cache.h inclusion due to previous changesElijah Newren1-1/+1
2023-04-24ws.h: move declarations for ws.c functions from cache.hElijah Newren1-1/+0
2023-04-11pager.h: move declarations for pager.c functions from cache.hElijah Newren1-1/+0
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on convert.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-03-21write-or-die.h: move declarations for write-or-die.c functions from cache.hElijah Newren1-0/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren1-0/+1
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23replace-object.h: move read_replace_refs declaration from cache.h to hereElijah Newren1-0/+1
2022-12-26read-tree: add "--super-prefix" option, eliminate globalÆvar Arnfjörð Bjarmason1-13/+0
2022-09-14Merge branch 'ab/unused-annotation'Junio C Hamano1-2/+2
2022-09-14Merge branch 'jk/unused-annotation'Junio C Hamano1-2/+2
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-2/+2
2022-08-19hashmap: mark unused callback parametersJeff King1-2/+2
2022-08-05refs: use ref_namespaces for replace refs baseDerrick Stolee1-2/+1
2022-08-05refs: add array of ref namespacesDerrick Stolee1-0/+2
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-04Merge branch 'jh/builtin-fsmonitor-part2'Junio C Hamano1-1/+0
2022-03-25Merge branch 'ns/core-fsyncmethod'Junio C Hamano1-1/+3
2022-03-25fsmonitor: config settings are repository-specificJeff Hostetler1-1/+0
2022-03-10core.fsync: add configuration parsingNeeraj Singh1-1/+1
2022-03-10core.fsync: introduce granular fsync control infrastructureNeeraj Singh1-0/+1
2022-03-10core.fsyncmethod: add writeout-only modeNeeraj Singh1-0/+1
2022-03-01repo_read_index: add config to expect files outside sparse patternsElijah Newren1-0/+1
2022-01-03Merge branch 'ns/tmp-objdir'Junio C Hamano1-0/+9
2021-12-15Merge branch 'ew/test-wo-fsync'Junio C Hamano1-0/+1
2021-12-08tmp-objdir: disable ref updates when replacing the primary odbNeeraj Singh1-0/+4
2021-12-08tmp-objdir: new API for creating temporary writable databasesNeeraj Singh1-0/+5
2021-10-29tests: disable fsync everywhereEric Wong1-0/+1
2021-10-11Merge branch 'jk/ref-paranoia'Junio C Hamano1-1/+0
2021-10-06Merge branch 'ab/repo-settings-cleanup'Junio C Hamano1-9/+1
2021-09-27repack, prune: drop GIT_REF_PARANOIA settingsJeff King1-1/+0
2021-09-22environment.c: remove test-specific "ignore_untracked..." variableÆvar Arnfjörð Bjarmason1-7/+0
2021-09-22wrapper.c: add x{un,}setenv(), and use xsetenv() in environment.cÆvar Arnfjörð Bjarmason1-2/+1
2021-09-12compression: drop write-only core_compression_* variablesRené Scharfe1-1/+0
2021-07-26environment: move strbuf into block to plug leakAndrzej Hunt1-4/+3
2021-01-15config: allow specifying config entries via envvar pairsPatrick Steinhardt1-0/+1
2021-01-15environment: make `getenv_safe()` a public functionPatrick Steinhardt1-5/+2
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-30strvec: rename struct fieldsJeff King1-1/+1
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-4/+4
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-05-13Merge branch 'tb/shallow-cleanup'Junio C Hamano1-0/+1
2020-04-30shallow: extract a header file for shallow-related functionsTaylor Blau1-0/+1
2020-03-10real_path: remove unsafe APIAlexandr Miloslavskiy1-1/+6
2020-03-06set_git_dir: fix crash when used with real_path()Alexandr Miloslavskiy1-1/+10
2019-12-25Merge branch 'ds/sparse-cone'Junio C Hamano1-0/+1
2019-12-06Sync with 2.23.1Johannes Schindelin1-1/+1
2019-12-06Sync with 2.20.2Johannes Schindelin1-1/+1
2019-12-06Sync with 2.19.3Johannes Schindelin1-1/+1
2019-12-06Sync with 2.18.2Johannes Schindelin1-1/+1
2019-12-06Sync with 2.17.3Johannes Schindelin1-1/+1
2019-12-06Sync with 2.16.6Johannes Schindelin1-1/+1
2019-12-06Sync with 2.15.4Johannes Schindelin1-1/+1
2019-12-06Sync with 2.14.6Johannes Schindelin1-1/+1
2019-12-05protect_ntfs: turn on NTFS protection by defaultJohannes Schindelin1-1/+1
2019-11-22sparse-checkout: add 'cone' modeDerrick Stolee1-0/+1
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-01-29Merge branch 'jk/save-getenv-result'Junio C Hamano1-2/+2
2019-01-11get_super_prefix(): copy getenv() resultJeff King1-2/+2
2019-01-04Merge branch 'jk/loose-object-cache'Junio C Hamano1-2/+2
2018-11-13Merge branch 'js/mingw-perl5lib'Junio C Hamano1-1/+0
2018-11-13sha1-file: use an object_directory for the main object dirJeff King1-2/+2
2018-10-31config: move Windows-specific config settings into compat/mingw.cJohannes Schindelin1-1/+0
2018-10-22worktree: add per-worktree config filesNguyễn Thái Ngọc Duy1-0/+1
2018-08-20Merge branch 'en/incl-forward-decl'Junio C Hamano1-0/+1
2018-08-15Merge branch 'nd/i18n'Junio C Hamano1-2/+2
2018-08-15Merge branch 'jk/core-use-replace-refs'Junio C Hamano1-2/+2
2018-08-15Move definition of enum branch_track from cache.h to branch.hElijah Newren1-0/+1
2018-07-23environment.c: mark more strings for translationNguyễn Thái Ngọc Duy1-2/+2
2018-07-18check_replace_refs: rename to read_replace_refsJeff King1-2/+2
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-4/+4
2018-07-17commit-graph: add repo arg to graph readersJonathan Tan1-1/+0
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-4/+4
2018-05-18cache: convert get_graft_file to handle arbitrary repositoriesStefan Beller1-3/+3
2018-05-18shallow: add repository argument to set_alternate_shallow_fileStefan Beller1-1/+1
2018-05-08Merge branch 'ls/checkout-encoding'Junio C Hamano1-0/+1
2018-05-08Merge branch 'sb/object-store-replace'Junio C Hamano1-1/+1
2018-05-08Merge branch 'ds/commit-graph'Junio C Hamano1-0/+1
2018-04-25Merge branch 'jk/relative-directory-fix'Junio C Hamano1-3/+23
2018-04-16convert: add round trip check based on 'core.checkRoundtripEncoding'Lars Schneider1-0/+1
2018-04-12replace-object: check_replace_refs is safe in multi repo environmentStefan Beller1-1/+1
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-2/+3
2018-04-11commit-graph: add core.commitGraph settingDerrick Stolee1-0/+1
2018-04-10Merge branch 'nd/remove-ignore-env-field'Junio C Hamano1-3/+28
2018-03-30set_work_tree: use chdir_notifyJeff King1-1/+22
2018-03-30set_git_dir: die when setenv() failsJeff King1-3/+2
2018-03-23repository: introduce raw object store fieldStefan Beller1-2/+3
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-12/+12
2018-03-05sha1_file.c: move delayed getenv(altdb) back to setup_git_env()Nguyễn Thái Ngọc Duy1-0/+1
2018-03-05repository.c: move env-related setup code back to environment.cNguyễn Thái Ngọc Duy1-3/+27
2018-02-22environment: rename 'namespace' variablesBrandon Williams1-5/+5
2018-02-22environment: rename 'template' variablesBrandon Williams1-7/+7
2018-02-13Merge branch 'tb/crlf-conv-flags'Junio C Hamano1-1/+1
2018-02-13Merge branch 'jh/partial-clone'Junio C Hamano1-0/+1
2018-02-13Merge branch 'jh/fsck-promisors'Junio C Hamano1-0/+1
2018-01-16convert_to_git(): safe_crlf/checksafe becomes int conv_flagsTorsten Bögershausen1-1/+1
2017-12-19Merge branch 'ar/unconfuse-three-dots'Junio C Hamano1-0/+15
2017-12-08partial-clone: define partial clone settings in configJeff Hostetler1-0/+1
2017-12-05extension.partialclone: introduce partial clone extensionJonathan Tan1-0/+1
2017-12-04print_sha1_ellipsis: introduce helperAnn T Ropea1-0/+15
2017-11-21Merge branch 'bp/fsmonitor'Junio C Hamano1-0/+1
2017-10-03Merge branch 'jk/no-optional-locks'Junio C Hamano1-0/+5
2017-10-01fsmonitor: teach git to optionally utilize a file system monitor to speed up ...Ben Peart1-0/+1
2017-09-27git: add --no-optional-locks optionJeff King1-0/+5
2017-09-06repository: free fields before overwriting themJeff King1-1/+3
2017-06-23environment: store worktree in the_repositoryBrandon Williams1-5/+4
2017-06-23environment: place key repository state in the_repositoryBrandon Williams1-45/+13
2017-06-23environment: remove namespace_len variableBrandon Williams1-5/+4
2017-06-23setup: don't perform lazy initialization of repository stateBrandon Williams1-9/+8
2017-06-23Merge branches 'bw/ls-files-sans-the-index' and 'bw/config-h' into bw/repo-ob...Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-05-29Merge branch 'jk/bug-to-abort'Junio C Hamano1-1/+1
2017-05-16Merge branch 'nd/worktree-kill-parse-ref'Junio C Hamano1-0/+2
2017-05-15setup_git_env: convert die("BUG") to BUG()Jeff King1-1/+1
2017-04-16Merge branch 'jk/snprintf-cleanups'Junio C Hamano1-8/+6
2017-04-16environment.c: fix potential segfault by get_git_common_dir()Nguyễn Thái Ngọc Duy1-0/+2
2017-03-30Merge branch 'jk/no-looking-at-dotgit-outside-repo-final'Junio C Hamano1-1/+4
2017-03-28odb_mkstemp: use git_path_bufJeff King1-4/+2
2017-03-28odb_mkstemp: write filename into strbufJeff King1-8/+8
2017-03-21Merge branch 'jk/pack-name-cleanups'Junio C Hamano1-4/+2
2017-03-16odb_pack_keep(): stop generating keepfile nameJeff King1-4/+2
2017-03-08real_pathdup(): fix callsites that wanted it to die on errorJohannes Schindelin1-1/+1
2017-01-31refs: add option core.logAllRefUpdates = alwaysCornelius Weig1-1/+1
2017-01-18Merge branch 'bw/grep-recurse-submodules'Junio C Hamano1-1/+1
2016-12-12real_path: have callers use real_pathdup and strbuf_realpathBrandon Williams1-1/+1
2016-11-15compression: unify pack.compression configuration parsingJunio C Hamano1-1/+1
2016-10-27Merge branch 'lt/abbrev-auto'Junio C Hamano1-1/+1
2016-10-26setup_git_env: avoid blind fall-back to ".git"Jeff King1-1/+4
2016-10-26Merge branch 'bw/ls-files-recurse-submodules'Junio C Hamano1-0/+13
2016-10-10git: make super-prefix optionBrandon Williams1-0/+13
2016-10-03abbrev: auto size the default abbreviationLinus Torvalds1-1/+1
2016-10-03abbrev: add FALLBACK_DEFAULT_ABBREV to prepare for auto sizingJunio C Hamano1-1/+1
2016-09-21Merge branch 'jk/setup-sequence-update'Junio C Hamano1-1/+12
2016-09-13init: reset cached config when entering new repoJeff King1-0/+5
2016-09-13config: only read .git/config from configured reposJeff King1-0/+7
2016-09-13pager: make pager_program a file-local staticJeff King1-1/+0
2016-05-26Merge branch 'js/windows-dotgit' into maintJunio C Hamano1-0/+1
2016-05-17Merge branch 'js/windows-dotgit'Junio C Hamano1-0/+1
2016-05-17Merge branch 'ab/hooks'Junio C Hamano1-0/+1
2016-05-11mingw: introduce the 'core.hideDotFiles' settingJohannes Schindelin1-0/+1
2016-05-04hooks: allow customizing where the hook directory isÆvar Arnfjörð Bjarmason1-0/+1
2016-05-02Merge branch 'jk/check-repository-format' into maintJunio C Hamano1-2/+21
2016-04-13Merge branch 'jk/check-repository-format'Junio C Hamano1-2/+21
2016-03-11setup: drop repository_format_version globalJeff King1-1/+0
2016-03-11lazily load core.sharedrepositoryJeff King1-0/+9
2016-03-11wrap shared_repository global in get/set accessorsJeff King1-1/+12
2016-03-06setup: make startup_info available everywhereJeff King1-1/+0
2016-02-10Merge branch 'cc/untracked'Junio C Hamano1-0/+7
2016-01-27test-dump-untracked-cache: don't modify the untracked cacheChristian Couder1-0/+7
2016-01-12Merge branch 'nd/stop-setenv-work-tree'Junio C Hamano1-2/+0
2015-12-22Revert "setup: set env $GIT_WORK_TREE when work tree is set, like $GIT_DIR"Nguyễn Thái Ngọc Duy1-2/+0
2015-10-26Merge branch 'jk/repository-extension'Junio C Hamano1-0/+1
2015-09-25replace trivial malloc + sprintf / strcpy calls with xstrfmtJeff King1-5/+2
2015-08-03Merge branch 'nd/export-worktree'Junio C Hamano1-0/+2
2015-06-26setup: set env $GIT_WORK_TREE when work tree is set, like $GIT_DIRNguyễn Thái Ngọc Duy1-0/+2
2015-06-24introduce "preciousObjects" repository extensionJeff King1-0/+1
2015-06-12Allow to control where the replace refs are looked forMike Hommey1-0/+6
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-6/+28
2015-03-20refs: introduce a "ref paranoia" flagJeff King1-0/+1
2014-12-17Sync with v2.0.5Junio C Hamano1-0/+10
2014-12-17Sync with v1.9.5Junio C Hamano1-0/+10
2014-12-17Sync with v1.8.5.6Junio C Hamano1-0/+10
2014-12-17read-cache: optionally disallow NTFS .git variantsJohannes Schindelin1-0/+5
2014-12-17read-cache: optionally disallow HFS+ .git variantsJeff King1-0/+5
2014-12-01setup.c: support multi-checkout repo setupNguyễn Thái Ngọc Duy1-5/+3
2014-12-01$GIT_COMMON_DIR: a new environment variableNguyễn Thái Ngọc Duy1-7/+22
2014-12-01git_path(): be aware of file relocation in $GIT_DIRNguyễn Thái Ngọc Duy1-5/+14
2014-06-25setup_git_env(): introduce git_path_from_env() helperJeff King1-9/+9
2014-06-19setup_git_env: use git_pathdup instead of xmalloc + sprintfJeff King1-8/+4
2014-06-16Merge branch 'sh/enable-preloadindex'Junio C Hamano1-1/+1
2014-06-06Merge branch 'nd/status-auto-comment-char'Junio C Hamano1-0/+1
2014-06-03environment.c: enable core.preloadindex by defaultSteve Hoelzer1-1/+1
2014-05-19commit: allow core.commentChar=auto for character auto selectionNguyễn Thái Ngọc Duy1-0/+1
2014-05-06Bump core.deltaBaseCacheLimit to 96mDavid Kastrup1-1/+1