summaryrefslogtreecommitdiff
path: root/src/config_file.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* | config_file: refactor include handlingPatrick Steinhardt2017-07-151-98/+116
|/
* buffer: use `git_buf_init` with lengthPatrick Steinhardt2017-06-081-2/+3
* Merge pull request #4179 from libgit2/ethomson/expand_tildeCarlos Martín Nieto2017-05-201-1/+1
|\
| * config, attrcache: don't fallback to dirs literally named `~`Edward Thomson2017-03-231-10/+2
| * fix error when including a missing config file relative to the home directorySim Domingo2017-03-231-2/+10
* | config_file: handle errors other than OOM while parsing section headersPatrick Steinhardt2017-04-041-11/+12
|/
* config_file: check if section header buffer runs out of memoryPatrick Steinhardt2017-03-211-2/+8
* strmap: remove GIT__USE_STRMAP macroPatrick Steinhardt2017-02-171-2/+0
* khash: avoid using macro magic to get return addressPatrick Steinhardt2017-02-171-1/+1
* giterr_set: consistent error messagesEdward Thomson2016-12-291-9/+9
* Make sure we use the `C` locale for `regcomp` on macOS.Arthur Schreiber2016-10-061-3/+2
* Merge pull request #3712 from ethomson/config_duplicate_sectionCarlos Martín Nieto2016-03-291-4/+9
|\
| * config: don't write section header if we're in itEdward Thomson2016-03-281-4/+9
* | config: don't special-case multivars that don't exist yetcmn/multivar-set-lockedCarlos Martín Nieto2016-03-211-17/+0
|/
* Merge pull request #3677 from pks-t/pks/coverity-fixes-round7Carlos Martín Nieto2016-03-141-8/+20
|\
| * config_file: handle error when trying to lock strmapPatrick Steinhardt2016-03-111-8/+20
* | config_file: handle missing quotation marks in section headerPatrick Steinhardt2016-03-101-0/+5
|/
* filebuf: use a checksum to detect file changesCarlos Martín Nieto2015-10-301-10/+5
* config: buffer comments to match git's variable-addingcmn/config-commentCarlos Martín Nieto2015-09-181-4/+35
* config: implement basic transactional supportCarlos Martín Nieto2015-08-121-12/+81
* config: write the modified file to memoryCarlos Martín Nieto2015-08-121-8/+12
* git__tolower: a tolower() that isn't dumbEdward Thomson2015-05-291-2/+2
* config: plug a couple of leaksCarlos Martín Nieto2015-05-051-4/+7
* config: cleanup some now-unused variablesEdward Thomson2015-05-041-7/+16
* config: lock the file for write before readingEdward Thomson2015-05-041-8/+7
* config: write existing lines as-is when rewritingEdward Thomson2015-05-041-28/+70
* config: examine whole file when writingEdward Thomson2015-05-041-396/+384
* config: peek returns '\n' on EOF; handle in writeEdward Thomson2015-04-231-1/+1
* config: validate config keysEdward Thomson2015-04-231-13/+41
* git_config_delete: search until last section.Ryan Roden-Corrent2015-04-211-1/+4
* config_file: comment char can be invalid escapeEdward Thomson2015-04-201-2/+10
* config_file: parse multilines generouslyEdward Thomson2015-04-201-54/+38