summaryrefslogtreecommitdiff
path: root/config.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-17Sync with 2.32.7Johannes Schindelin1-11/+25
2023-04-17Sync with 2.31.8Johannes Schindelin1-11/+25
2023-04-17Sync with 2.30.9Johannes Schindelin1-11/+25
2023-04-17config.c: disallow overly-long lines in `copy_or_rename_section_in_file()`Taylor Blau1-0/+13
2023-04-17config.c: avoid integer truncation in `copy_or_rename_section_in_file()`Taylor Blau1-5/+5
2023-04-17config: avoid fixed-sized buffer when renaming/deleting a sectionTaylor Blau1-6/+7
2023-04-11mailmap, quote: move declarations of global vars to correct unitElijah Newren1-0/+1
2023-04-11pager.h: move declarations for pager.c functions from cache.hElijah Newren1-0/+1
2023-04-11object-name.h: move declarations for object-name.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 advice.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-04-06Merge branch 'en/header-split-cleanup'Junio C Hamano1-1/+6
2023-04-06Merge branch 'gc/config-parsing-cleanup'Junio C Hamano1-245/+343
2023-04-06Merge branch 'ab/config-multi-and-nonbool'Junio C Hamano1-17/+92
2023-03-28config.c: rename "struct config_source cf"Glen Choo1-131/+131
2023-03-28config: report cached filenames in die_bad_number()Glen Choo1-20/+45
2023-03-28config.c: remove current_parsing_scopeGlen Choo1-26/+37
2023-03-28config.c: remove current_config_kviGlen Choo1-39/+43
2023-03-28config.c: plumb the_reader through callbacksGlen Choo1-31/+43
2023-03-28config.c: create config_reader and the_readerGlen Choo1-31/+51
2023-03-28config.c: don't assign to "cf_global" directlyGlen Choo1-13/+24
2023-03-28config.c: plumb config_source through static fnsGlen Choo1-69/+84
2023-03-28config API: add "string" version of *_value_multi(), fix segfaultsÆvar Arnfjörð Bjarmason1-0/+32
2023-03-28config API: have *_multi() return an "int" and take a "dest"Ævar Arnfjörð Bjarmason1-14/+20
2023-03-28config API: add and use a "git_config_get()" family of functionsÆvar Arnfjörð Bjarmason1-7/+44
2023-03-27config: tell the user that we expect an ASCII characterKristoffer Haugsbakk1-1/+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-03-21treewide: remove unnecessary cache.h inclusion from a few headersElijah Newren1-1/+1
2023-02-23replace-object.h: move read_replace_refs declaration from cache.h to hereElijah Newren1-0/+1
2023-02-23ident.h: move ident-related declarations out of cache.hElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-1/+2
2023-01-08*: fix typos which duplicate a wordAndrei Rybak1-1/+1
2022-11-28Merge branch 'pw/config-int-parse-fixes'Junio C Hamano1-5/+19
2022-11-09git_parse_signed(): avoid integer overflowPhillip Wood1-5/+6
2022-11-09config: require at least one digit when parsing numbersPhillip Wood1-0/+8
2022-11-09git_parse_unsigned: reject negative valuesPhillip Wood1-0/+5
2022-10-30Merge branch 'ds/bundle-uri-3'Taylor Blau1-1/+1
2022-10-25Merge branch 'gc/bare-repo-discovery'Junio C Hamano1-22/+8
2022-10-13config: respect includes in protected configGlen Choo1-22/+8
2022-10-12bundle-uri: create base key-value pair parsingDerrick Stolee1-1/+1
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-4/+4
2022-08-19hashmap: mark unused callback parametersJeff King1-2/+2
2022-08-19config: mark unused callback parametersJeff King1-1/+2
2022-07-26config.c: NULL check when reading protected configGlen Choo1-3/+8
2022-07-14config: learn `git_protected_config()`Glen Choo1-0/+43