summaryrefslogtreecommitdiff
path: root/tests/config
Commit message (Expand)AuthorAgeFilesLines
* 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
| * add failing test to include a missing config file relative to home dirSim Domingo2017-03-231-0/+17
* | tests: config: verify functionality with read-only backendsPatrick Steinhardt2017-04-261-0/+64
|/
* leaks: fix some leaks in the testsEdward Thomson2016-03-311-0/+3
* Merge pull request #3712 from ethomson/config_duplicate_sectionCarlos Martín Nieto2016-03-291-0/+24
|\
| * config::write::repeated: init our bufferEdward Thomson2016-03-281-1/+1
| * config: show we write a spurious duplicated section headerCarlos Martín Nieto2016-03-281-0/+24
* | config: don't special-case multivars that don't exist yetcmn/multivar-set-lockedCarlos Martín Nieto2016-03-211-1/+1
|/
* tests: config::stress: free `git_config` structsPatrick Steinhardt2015-11-241-0/+3
* tests: config::global: fix memleak in open_programdataPatrick Steinhardt2015-11-241-1/+1
* config::global: use PROGRAMDATA configurationEdward Thomson2015-11-171-4/+6
* config: add failing test for an external modificationCarlos Martín Nieto2015-10-301-0/+20
* config: add a ProgramData levelcmn/programdata-configCarlos Martín Nieto2015-10-211-0/+40
* config: test that comments are left as with gitLinquize2015-09-181-3/+8
* git_futils_mkdir_*: make a relative-to-base mkdirEdward Thomson2015-09-171-3/+3
* Don't free config in `git_transaction_commit`.Arthur Schreiber2015-09-131-0/+10
* config: perform unlocking via git_transactioncmn/config-txCarlos Martín Nieto2015-08-121-3/+4