aboutsummaryrefslogtreecommitdiffstats
path: root/t/t1300-config.sh
AgeCommit message (Expand)AuthorFilesLines
9 daysbuiltin/config: introduce "edit" subcommandPatrick Steinhardt1-3/+3
9 daysbuiltin/config: introduce "remove-section" subcommandPatrick Steinhardt1-2/+2
9 daysbuiltin/config: introduce "rename-section" subcommandPatrick Steinhardt1-11/+11
9 daysbuiltin/config: introduce "unset" subcommandPatrick Steinhardt1-15/+29
9 daysbuiltin/config: introduce "set" subcommandPatrick Steinhardt1-49/+53
9 daysbuiltin/config: introduce "get" subcommandPatrick Steinhardt1-42/+89
9 daysbuiltin/config: introduce "list" subcommandPatrick Steinhardt1-45/+65
9 daysbuiltin/config: use `OPT_CMDMODE()` to specify modesPatrick Steinhardt1-0/+13
2024-04-05Merge branch 'rs/config-comment'Junio C Hamano1-2/+20
2024-04-01Merge branch 'ds/config-internal-whitespace-fix'Junio C Hamano1-3/+111
2024-03-21t1300: add more tests for whitespace and inline commentsDragan Simic1-3/+111
2024-03-15config: allow tweaking whitespace between value and commentJunio C Hamano1-0/+6
2024-03-15config: fix --comment formattingJunio C Hamano1-4/+5
2024-03-15config: add --comment option to add a commentRalph Seichter1-2/+13
2024-01-29t1300: make tests more robust with non-default ref backendsPatrick Steinhardt1-28/+50
2023-11-02tests: teach callers of test_i18ngrep to use test_grepJunio C Hamano1-22/+22
2023-06-28config.c: pass ctx with CLI configGlen Choo1-0/+27
2023-05-15Merge branch 'ar/config-count-tests-updates'Junio C Hamano1-11/+22
2023-05-10Merge branch 'ar/test-cleanup-unused-file-creation-part2'Junio C Hamano1-5/+5
2023-05-03t1300: don't create unused filesAndrei Rybak1-3/+3
2023-05-03t1300: fix config file syntax error descriptionsAndrei Rybak1-2/+2
2023-04-24t1300: add tests for missing keysAndrei Rybak1-0/+17
2023-04-24t1300: check stderr for "ignores pairs" testsAndrei Rybak1-4/+5
2023-04-24t1300: drop duplicate testAndrei Rybak1-7/+0
2023-04-17Sync with 2.38.5Johannes Schindelin1-0/+30
2023-04-17Sync with 2.36.6Johannes Schindelin1-0/+30
2023-04-17Sync with 2.35.8Johannes Schindelin1-0/+30
2023-04-17Sync with 2.34.8Johannes Schindelin1-0/+30
2023-04-17Sync with 2.31.8Johannes Schindelin1-0/+30
2023-04-17Sync with 2.30.9Johannes Schindelin1-0/+30
2023-04-17config.c: disallow overly-long lines in `copy_or_rename_section_in_file()`Taylor Blau1-0/+10
2023-04-17config: avoid fixed-sized buffer when renaming/deleting a sectionTaylor Blau1-2/+2
2023-04-17t1300: demonstrate failure when renaming sections with long linesTaylor Blau1-0/+20
2022-11-09config: require at least one digit when parsing numbersPhillip Wood1-0/+6
2022-06-30config tests: fix harmless but broken "rm -r" cleanupÆvar Arnfjörð Bjarmason1-2/+3
2022-06-07config: document and test the 'worktree' scopeGlen Choo1-0/+9
2022-02-09Merge branch 'jt/conditional-config-on-remote-url'Junio C Hamano1-0/+118
2022-01-18config: include file if remote URL matches a globJonathan Tan1-0/+118
2022-01-03Merge branch 'es/test-chain-lint'Junio C Hamano1-3/+3
2021-12-13t0000-t3999: detect and signal failure within loopEric Sunshine1-1/+1
2021-12-13tests: fix broken &&-chains in `{...}` groupsEric Sunshine1-1/+1
2021-12-13tests: fix broken &&-chains in compound statementsEric Sunshine1-1/+1
2021-11-01leak tests: mark some config tests as passing with SANITIZE=leakÆvar Arnfjörð Bjarmason1-0/+1
2021-05-07Merge branch 'ps/config-global-override'Junio C Hamano1-0/+85
2021-05-07Merge branch 'ps/config-env-option-with-separate-value'Junio C Hamano1-1/+14
2021-04-30git: support separate arg for `--config-env`'s valuePatrick Steinhardt1-1/+14
2021-04-27t1300: fix unset of GIT_CONFIG_NOSYSTEM leaking into subsequent testsPatrick Steinhardt1-4/+3
2021-04-19config: allow overriding of global and system configurationPatrick Steinhardt1-0/+86
2021-02-17Merge branch 'ak/config-bad-bool-error'Junio C Hamano1-0/+7
2021-02-11config: improve error message for boolean configAndrew Klotz1-0/+7
2021-01-25Merge branch 'ps/config-env-pairs'Junio C Hamano1-1/+222
2021-01-25Merge branch 'js/default-branch-name-tests-final-stretch'Junio C Hamano1-4/+7
2021-01-15config: allow specifying config entries via envvar pairsPatrick Steinhardt1-1/+114
2021-01-15config: store "git -c" variables using more robust formatPatrick Steinhardt1-0/+8
2021-01-15config: parse more robust format in GIT_CONFIG_PARAMETERSJeff King1-0/+52
2021-01-12config: add new way to pass config via `--config-env`Patrick Steinhardt1-0/+48
2021-01-04t1300: don't needlessly work with `core.foo` configsMartin Ågren1-30/+30
2021-01-04t1300: remove duplicate test for `--file no-such-file`Martin Ågren1-6/+2
2021-01-04t1300: remove duplicate test for `--file ../foo`Martin Ågren1-4/+0
2020-11-25config: implement --fixed-value with --get*Derrick Stolee1-0/+22
2020-11-25config: plumb --fixed-value into config APIDerrick Stolee1-0/+50
2020-11-25config: add --fixed-value option, un-implementedDerrick Stolee1-0/+24
2020-11-25t1300: add test for --replace-all with value-patternDerrick Stolee1-0/+14
2020-11-25t1300: test "set all" mode with value-patternDerrick Stolee1-0/+39
2020-11-19t[01]*: adjust the references to the default branch name "main"Johannes Schindelin1-5/+5
2020-11-19tests: mark tests relying on the current default for `init.defaultBranch`Johannes Schindelin1-0/+3
2020-09-09config: complain about --worktree outside of a git repoMatheus Tavares1-5/+8
2020-03-05Merge branch 'bc/wildcard-credential'Junio C Hamano1-0/+6
2020-02-20t1300: add test for urlmatch with multiple wildcardsbrian m. carlson1-0/+6
2020-02-10config: add '--show-scope' to print the scope of a config valueMatthew Rogers1-0/+59
2020-01-24t1300: create custom config file without special charactersMatthew Rogers1-5/+10
2020-01-24t1300: fix over-indented HERE-DOCsMatthew Rogers1-84/+84
2019-09-06t: use common $SQ variableDenton Liu1-5/+4
2019-02-13tests: avoid syntax triggering old dash bugÆvar Arnfjörð Bjarmason1-0/+1
2018-10-22t1300: extract and use test_cmp_config()Nguyễn Thái Ngọc Duy1-60/+19
2018-10-07t/*: fix ordering of expected/observed argumentsMatthew DeVore1-2/+2
2018-10-07tests: standardize pipe placementMatthew DeVore1-2/+3
2018-08-27Merge branch 'sg/test-must-be-empty'Junio C Hamano1-4/+1
2018-08-21tests: use 'test_must_be_empty' instead of 'test_cmp <empty> <out>'SZEDER Gábor1-4/+1
2018-08-20Merge branch 'sb/config-write-fix'Junio C Hamano1-0/+87
2018-08-08config: fix case sensitive subsection names on writingStefan Beller1-0/+1
2018-08-01t1300: document current behavior of setting optionsStefan Beller1-0/+86
2018-07-03t: use sane_unset() rather than 'unset' with broken &&-chainEric Sunshine1-1/+1
2018-05-08Merge branch 'tb/config-default'Junio C Hamano1-0/+30
2018-05-08Merge branch 'tb/config-type'Junio C Hamano1-1/+64
2018-05-08Merge branch 'js/empty-config-section-fix'Junio C Hamano1-0/+1710
2018-04-09git_config_set: reuse empty sectionsJohannes Schindelin1-1/+1
2018-04-09git config --unset: remove empty sections (in the common case)Johannes Schindelin1-2/+2
2018-04-09t1300: `--unset-all` can leave an empty section behind (bug)Johannes Schindelin1-0/+11
2018-04-09t1300: add a few more hairy examples of sections becoming emptyJohannes Schindelin1-1/+44
2018-04-06t1300: remove unreasonable expectation from TODOJohannes Schindelin1-1/+20
2018-04-06t1300: avoid relying on a bugJohannes Schindelin1-0/+2
2018-04-06config --replace-all: avoid extra line breaksJohannes Schindelin1-1/+1
2018-04-06t1300: demonstrate that --replace-all can "invent" newlinesJohannes Schindelin1-0/+21
2018-04-06t1300: rename it to reflect that `repo-config` was deprecatedJohannes Schindelin1-0/+1591