summaryrefslogtreecommitdiff
path: root/tests/config
Commit message (Expand)AuthorAgeFilesLines
* 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
* config_file: iterate over keys in the order they were addedPatrick Steinhardt2018-03-261-0/+10
* config_parse: fix reading files with BOMPatrick Steinhardt2018-02-081-0/+15
* config_parse: handle empty lines with CRLFPatrick Steinhardt2018-02-081-0/+30
* Merge remote-tracking branch 'upstream/master' into pks/conditional-includesCarlos Martín Nieto2017-11-041-0/+23
|\
| * config: add failing test for preserving case when writing keysCarlos Martín Nieto2017-10-301-0/+23
* | tests: resolve the real path for the sandbox in includeIf testsCarlos Martín Nieto2017-10-311-6/+14
* | config_file: implement "gitdir/i" conditionalPatrick Steinhardt2017-10-091-0/+13
* | config_file: implement conditional "gitdir" includesPatrick Steinhardt2017-10-091-0/+82
* | config: pass repository when opening config filesPatrick Steinhardt2017-10-096-39/+39
|/
* config_file: refuse modifying included variablesPatrick Steinhardt2017-07-151-0/+18
* config_file: move reader into `config_read` onlyPatrick Steinhardt2017-07-151-0/+13
* config_file: refresh all files if includes were modifiedPatrick Steinhardt2017-07-151-0/+10
* tests: config::include: use init and cleanup functionsPatrick Steinhardt2017-07-151-43/+15
* tests: config: fix missing declaration causing errorPatrick Steinhardt2017-07-051-0/+1
* Merge pull request #4179 from libgit2/ethomson/expand_tildeCarlos Martín Nieto2017-05-201-0/+20
|\
| * config::include: sanitize homedirEdward Thomson2017-03-231-0/+3