summaryrefslogtreecommitdiff
path: root/src/config_file.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* | config_file: make repo and config path accessible to readerPatrick Steinhardt2017-10-091-5/+14
* | config_file: extract function to parse include pathPatrick Steinhardt2017-10-091-27/+35
* | config: pass repository when opening config filesPatrick Steinhardt2017-10-091-4/+7
|/
* Merge pull request #4288 from pks-t/pks/include-fixupsEdward Thomson2017-08-151-1/+2
|\
| * Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-1/+2
* | config_file: refuse modifying included variablesPatrick Steinhardt2017-07-151-0/+11
* | config_file: move reader into `config_read` onlyPatrick Steinhardt2017-07-151-45/+31
* | config_file: refresh all files if includes were modifiedPatrick Steinhardt2017-07-151-36/+46
* | config_file: remove unused backend field from parse dataPatrick Steinhardt2017-07-151-7/+5
* | config_file: pass reader directly to callbacksPatrick Steinhardt2017-07-151-15/+15