summaryrefslogtreecommitdiff
path: root/src/config_file.c
Commit message (Expand)AuthorAgeFilesLines
* config_file: use `wildmatch` to evaluate conditionalsPatrick Steinhardt2019-06-151-11/+4
* config_file: do not include trailing '/' for "gitdir" conditionalsPatrick Steinhardt2019-06-151-2/+9
* config_file: refactor `do_match_gitdir` to improve readabilityPatrick Steinhardt2019-06-151-16/+16
* posix: remove implicit include of "fnmatch.h"Patrick Steinhardt2019-06-151-0/+1
* regexec: prefix all regexec function calls with p_Edward Thomson2019-05-191-11/+10
* Correctly write to missing locked global configIan Hattendorf2019-04-291-1/+1
* Merge pull request #4561 from pks-t/pks/downcastingPatrick Steinhardt2019-04-291-2/+2
|\
| * config_file: make use of `GIT_CONTAINER_OF` macroPatrick Steinhardt2019-04-161-2/+2
* | config_file: check result of git_array_allocTobias Nießen2019-04-161-0/+1
|/
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-17/+17
* config_file: properly ignore includes without "path" valuePatrick Steinhardt2018-10-051-1/+4
* config_entries: refactor entries iterator memory ownershipPatrick Steinhardt2018-09-281-5/+8
* config_entries: abstract away reference countingPatrick Steinhardt2018-09-281-1/+1
* config_entries: abstract away iteration over entriesPatrick Steinhardt2018-09-281-15/+1
* config_entries: abstract away retrieval of config entriesPatrick Steinhardt2018-09-281-103/+60
* config_entries: rename functions and structurePatrick Steinhardt2018-09-281-29/+29
* config_entries: pull out implementation of entry storePatrick Steinhardt2018-09-281-146/+1
* config_file: remove unnecessary snapshot indirectionPatrick Steinhardt2018-09-281-10/+2
* config: rename "config_file.h" to "config_backend.h"Patrick Steinhardt2018-09-281-3/+2
* config: move function normalizing section names into "config.c"Patrick Steinhardt2018-09-281-23/+0
* config_file: fix quadratic behaviour when adding config multivarsPatrick Steinhardt2018-09-061-12/+17
* Add a commentNelson Elhage2018-08-051-0/+4
* Don't error on missing section, just continueNelson Elhage2018-08-051-5/+4
* config_file: Don't crash on options without a sectionNelson Elhage2018-08-051-0/+4
* config_file: avoid free'ing OOM buffersPatrick Steinhardt2018-06-221-6/+2
* config_parse: have `git_config_parse` own entry value and namePatrick Steinhardt2018-06-221-13/+11
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-11/+11
* config_file: iterate over keys in the order they were addedPatrick Steinhardt2018-03-261-24/+7
* config_file: add list holding config entries in order of appearancePatrick Steinhardt2018-03-261-7/+31
* config_file: pass complete entry structure into `append_entry`Patrick Steinhardt2018-03-261-13/+13
* config_file: rename `refcounted_strmap` to `diskfile_entries`Patrick Steinhardt2018-03-261-78/+78
* config_file: rename parse_data structPatrick Steinhardt2018-03-261-12/+12
* config_file: use new line to declare new variablePatrick Steinhardt2018-03-261-1/+2
* config_file: refactor freeing of config entry listsPatrick Steinhardt2018-03-261-25/+16
* config_file: rename cvar_t struct to config_entry_listPatrick Steinhardt2018-03-261-13/+13
* config_file: move include depth into config entryPatrick Steinhardt2018-03-261-7/+6
* config_file: move cvar handling into `append_entry`Patrick Steinhardt2018-03-261-20/+21
* config_file: remove unused list iteration macrosPatrick Steinhardt2018-03-261-40/+2
* config: return an error if config_refresh is called on a snapshotcmn/config-header-commonCarlos Martín Nieto2018-02-281-1/+1
* config: harden our use of the backend objects a bitCarlos Martín Nieto2018-02-281-2/+5
* config: move the level field into the headerCarlos Martín Nieto2018-02-281-5/+4
* config: move the repository to the diskfile headerCarlos Martín Nieto2018-02-281-4/+4
* config_parse: use common parser interfacePatrick Steinhardt2017-11-111-22/+16
* config_file: split out module to parse config filesPatrick Steinhardt2017-11-111-681/+26
* Merge remote-tracking branch 'upstream/master' into pks/conditional-includesCarlos Martín Nieto2017-11-041-9/+20
|\
| * config: check for OOM when writingcmn/config-write-preserve-caseCarlos Martín Nieto2017-10-301-0/+2
| * config: preserve the original case when writing out new sections and varsCarlos Martín Nieto2017-10-301-9/+18
* | config: keep the output parameter at the start of the functionCarlos Martín Nieto2017-11-041-5/+6
* | config_file: implement "gitdir/i" conditionalPatrick Steinhardt2017-10-091-4/+25
* | config_file: implement conditional "gitdir" includesPatrick Steinhardt2017-10-091-0/+85