summaryrefslogtreecommitdiff
path: root/tests/config
Commit message (Expand)AuthorAgeFilesLines
* config: handle empty conditional in includeIfEdward Thomson2022-01-051-0/+25
* Multiline config values not preserved on savingSven Strickroth2021-12-061-0/+19
* Add more tests for contentsSven Strickroth2021-12-061-0/+15
* Config parsing confused by continuations that start with quotesSven Strickroth2021-12-061-0/+13
* tests: declare functions statically where appropriateEdward Thomson2021-11-111-1/+1
* path: separate git-specific path functions from utilEdward Thomson2021-11-094-16/+16
* str: introduce `git_str` for internal, `git_buf` is externalethomson/gitstrEdward Thomson2021-10-179-109/+110
* Add test config parsingBasile Henry2021-09-091-0/+7
* tests: change comments to c89 stylePeter Pettersson2021-08-291-2/+2
* config: fix included configs not refreshed more than onceNicolas Cavallari2021-06-231-0/+24
* Merge pull request #5626 from csware/parse_boolEdward Thomson2020-10-041-0/+76
|\
| * Improve formattingSven Strickroth2020-09-091-1/+10
| * Add boolean tests for "on" and "off"Sven Strickroth2020-09-091-1/+7
| * Support empty values for git_config_get_mapped and git_config_lookup_map_valueSven Strickroth2020-09-091-1/+3
| * Fix parsing boolean config values when using git_config_get_mapped and git_co...Sven Strickroth2020-09-091-0/+59
* | Fix config file parsing with multi line values containing quoted partsSven Strickroth2020-09-181-0/+5
|/
* config: test that unreadable files are treated as notfoundEdward Thomson2020-06-011-0/+17
* tests: add missing error checksPatrick Steinhardt2020-02-072-2/+2
* tests: config: only test parsing huge file with GITTEST_INVASIVE_SPEEDPatrick Steinhardt2019-11-281-0/+3
* Merge pull request #5243 from pks-t/pks/config-optimize-memPatrick Steinhardt2019-11-281-0/+20
|\
| * config_entries: micro-optimize storage of multivarsPatrick Steinhardt2019-11-051-0/+20
* | config_mem: implement support for snapshotsPatrick Steinhardt2019-11-061-0/+17
|/
* Fix crash if snapshotting a config_snapshotSven Strickroth2019-11-011-0/+20
* config: implement "onbranch" conditionalPatrick Steinhardt2019-08-011-0/+40
* tests: config: catch OOM when assembling conditional configPatrick Steinhardt2019-08-011-3/+3
* tests: config: assert behaviour around includesPatrick Steinhardt2019-08-012-0/+56
* tests: config::snapshot: modernize testsPatrick Steinhardt2019-08-011-38/+36
* config_file: refresh when creating an iteratorPatrick Steinhardt2019-07-211-0/+45
* fileops: rename to "futils.h" to match function signaturesPatrick Steinhardt2019-07-206-6/+6
* config_file: implement stat cache to avoid repeated rehashingPatrick Steinhardt2019-07-111-0/+1
* config_file: use `wildmatch` to evaluate conditionalsPatrick Steinhardt2019-06-151-0/+3
* config_file: do not include trailing '/' for "gitdir" conditionalsPatrick Steinhardt2019-06-151-26/+28
* config: validate quoted section valueEdward Thomson2019-05-221-0/+70
* Correctly write to missing locked global configIan Hattendorf2019-04-291-0/+30
* tests: config: assure that we can read symlinked global configurationPatrick Steinhardt2019-03-291-0/+17
* tests: config: verify that the global config is actually readablePatrick Steinhardt2019-03-291-0/+12
* tests: config: make sure to clean up after each testPatrick Steinhardt2019-03-291-0/+3
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-223-10/+10
* config: fix adding files if their parent directory is a filePatrick Steinhardt2018-11-281-0/+20
* config: add failing test for no newline after section headerCarlos Martín Nieto2018-10-151-0/+30
* Merge pull request #4842 from nelhage/fuzz-config-memoryPatrick Steinhardt2018-10-121-3/+4
|\
| * config: Refactor `git_config_backend_from_string` to take a lengthNelson Elhage2018-10-091-3/+4
* | config_file: properly ignore includes without "path" valuePatrick Steinhardt2018-10-051-0/+10
* | tests: always unlink created config filesPatrick Steinhardt2018-10-051-2/+30
|/
* config: introduce new read-only in-memory backendPatrick Steinhardt2018-09-281-0/+138
* config: rename "config_file.h" to "config_backend.h"Patrick Steinhardt2018-09-282-7/+6
* Fix the test and comment.Nelson Elhage2018-08-141-2/+20
* Write a test.Nelson Elhage2018-08-141-0/+15
* treewide: remove use of C++ style commentsPatrick Steinhardt2018-07-131-2/+2
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-109-36/+36