summaryrefslogtreecommitdiff
path: root/tests-clar/resources/config
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-1424-109/+0
|
* Add test case to test ']' and '\\' characters in config subsectionLinquize2013-10-011-0/+11
|
* config: add support for include directivesCarlos Martín Nieto2013-09-072-0/+4
| | | | | Relative, absolute and home-relative paths are supported. The recursion limit it set at 10, just like in git.
* Add more tests for git_config_get_multivarRussell Belfer2013-07-091-1/+1
| | | | | | The old tests didn't try failing lookups or lookups across multiple config files with some having the pattern and some not having it.
* config: distinguish between a lone variable name and one without rhsCarlos Martín Nieto2012-11-131-0/+2
| | | | | | '[section] variable' and '[section] variable =' behave differently when parsed as booleans, so we need to store that distinction internally.
* - Update 'tests-clar/resources/config/config11' in order to reproduce the ↵delanne2012-11-081-0/+2
| | | | | | invalidread with the unittest (just added some \n at the end of the file) - Fix config_file.c
* Add config level support in the config APIyorah2012-10-234-0/+16
| | | | | | | Added `struct git_config_entry`: a git_config_entry contains the key, the value, and the config file level from which a config element was found. Added `git_config_open_level`: build a single-level focused config object from a multi-level one. We are now storing `git_config_entry`s in the khash of the config_file
* Fix adding variable to config file with no trailing newlineyorah2012-10-231-0/+3
| | | | This can occur after a manual modification of a config file.
* Fix config parser boundary logicRussell Belfer2012-08-121-0/+4
| | | | | | The config file parser was not working right if there was no whitespace between the value name and the equals sign. This fixes that.
* Backport more test dataVicent Martí2012-05-022-0/+9
|
* Moved testing resources to clar, and removed old tests directory.Ben Straub2012-03-3113-0/+58
Removed the BUILD_CLAR CMake flag, and updated the readme.