aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/config.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2024-06-06Merge branch 'ps/leakfixes'Junio C Hamano1-1/+1
2024-05-27config: clarify memory ownership in `git_config_pathname()`Patrick Steinhardt1-1/+1
2024-05-15builtin/config: pass data between callbacks via local variablesPatrick Steinhardt1-38/+52
2024-05-15builtin/config: convert flags to a local variablePatrick Steinhardt1-19/+29
2024-05-15builtin/config: track "fixed value" option via flags onlyPatrick Steinhardt1-7/+7
2024-05-15builtin/config: convert `key` to a local variablePatrick Steinhardt1-2/+5
2024-05-15builtin/config: convert `key_regexp` to a local variablePatrick Steinhardt1-8/+8
2024-05-15builtin/config: convert `regexp` to a local variablePatrick Steinhardt1-9/+9
2024-05-15builtin/config: convert `value_pattern` to a local variablePatrick Steinhardt1-3/+3
2024-05-15builtin/config: convert `do_not_match` to a local variablePatrick Steinhardt1-3/+3
2024-05-15builtin/config: move `respect_includes_opt` into location optionsPatrick Steinhardt1-7/+12
2024-05-15builtin/config: move default value into display optionsPatrick Steinhardt1-8/+11
2024-05-15builtin/config: move type options into display optionsPatrick Steinhardt1-31/+29
2024-05-15builtin/config: move display options into local variablesPatrick Steinhardt1-70/+101
2024-05-15builtin/config: move location options into local variablesPatrick Steinhardt1-137/+176
2024-05-15builtin/config: refactor functions to have common exit pathsPatrick Steinhardt1-26/+38
2024-05-15builtin/config: check for writeability after source is set upPatrick Steinhardt1-5/+5
2024-05-15builtin/config: move actions into `cmd_config_actions()`Patrick Steinhardt1-25/+23
2024-05-15builtin/config: move legacy options into `cmd_config()`Patrick Steinhardt1-30/+30
2024-05-15builtin/config: move subcommand options into `cmd_config()`Patrick Steinhardt1-14/+14
2024-05-15builtin/config: move legacy mode into its own functionPatrick Steinhardt1-19/+24
2024-05-15builtin/config: stop printing full usage on misusePatrick Steinhardt1-17/+11
2024-05-06builtin/config: display subcommand helpPatrick Steinhardt1-2/+3
2024-05-06builtin/config: introduce "edit" subcommandPatrick Steinhardt1-26/+55
2024-05-06builtin/config: introduce "remove-section" subcommandPatrick Steinhardt1-0/+32
2024-05-06builtin/config: introduce "rename-section" subcommandPatrick Steinhardt1-0/+32
2024-05-06builtin/config: introduce "unset" subcommandPatrick Steinhardt1-0/+39
2024-05-06builtin/config: introduce "set" subcommandPatrick Steinhardt1-0/+63
2024-05-06builtin/config: introduce "get" subcommandPatrick Steinhardt1-9/+60
2024-05-06builtin/config: introduce "list" subcommandPatrick Steinhardt1-12/+78
2024-05-06builtin/config: pull out function to handle `--null`Patrick Steinhardt1-6/+9
2024-05-06builtin/config: pull out function to handle config locationPatrick Steinhardt1-65/+68
2024-05-06builtin/config: use `OPT_CMDMODE()` to specify modesPatrick Steinhardt1-18/+14
2024-05-06builtin/config: move "fixed-value" option to correct groupPatrick Steinhardt1-1/+1
2024-05-06builtin/config: move option array aroundPatrick Steinhardt1-48/+48
2024-05-06config: clarify memory ownership when preparing comment stringsPatrick Steinhardt1-5/+6
2024-03-15config: allow tweaking whitespace between value and commentJunio C Hamano1-6/+1
2024-03-15config: fix --comment formattingJunio C Hamano1-4/+11
2024-03-15config: add --comment option to add a commentRalph Seichter1-7/+15
2024-01-29config: add back code commentKristoffer Haugsbakk1-0/+6
2024-01-18config: factor out global config file retrievalKristoffer Haugsbakk1-22/+3
2024-01-18config: rename global config functionKristoffer Haugsbakk1-1/+1
2024-01-18config: format newlinesKristoffer Haugsbakk1-1/+0
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-2/+0
2023-07-06Merge branch 'gc/config-context'Junio C Hamano1-25/+47
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-06-28config: pass kvi to die_bad_number()Glen Choo1-9/+12
2023-06-28config.c: pass ctx with CLI configGlen Choo1-17/+30
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-2/+8