summaryrefslogtreecommitdiff
path: root/src/config_file.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix checking of return value for regcomp.Patrick Steinhardt2015-04-101-2/+2
* config: borrow refcounted referencescmn/config-borrow-entryCarlos Martín Nieto2015-03-031-8/+16
* Remove extra semicolon outside of a functionStefan Widgren2015-02-151-1/+1
* Merge pull request #2895 from ethomson/alloc_overflowCarlos Martín Nieto2015-02-151-9/+22
|\
| * Make our overflow check look more like gcc/clang'sEdward Thomson2015-02-131-13/+11
| * overflow checking: don't make callers set oomEdward Thomson2015-02-121-2/+0
| * allocations: test for overflow of requested sizeEdward Thomson2015-02-121-8/+25
* | Reinit `reader` pointer after reading included config fileYury G. Kudryashov2015-02-131-0/+1
|/
* Plug some leaksJacques Germishuys2014-12-291-7/+5
* Spelling fixesWill Stamper2014-12-041-1/+1
* Clean up issues include.path issues found during code review.John Fultz2014-11-021-2/+9
* Make config reading continue after hitting a missing include file.John Fultz2014-11-011-7/+6
* config: remove the refresh function and backend fieldcmn/config-refresh-removeCarlos Martín Nieto2014-10-231-9/+0
* Patch from @carlosmn to refresh the parent config before snapshotting.refresh-config-snapshotAlan Rogers2014-10-231-1/+6
* config: Fix multiple trailing spaces before comments not completely trimmedLinquize2014-10-041-1/+1
* config: a multiline var can start immediatelyCarlos Martín Nieto2014-08-091-1/+1
* Make sure \n is at the end of config file before a new section is writtenLinquize2014-07-161-3/+3
* Fix mutex init/free in config_file.cPhilip Kelley2014-05-151-1/+4
* Some coverity inspired cleanupsRussell Belfer2014-05-131-3/+5
* Minor fixes for warnings and error propagationRussell Belfer2014-05-121-8/+5
* config: share the strmap on snapshotCarlos Martín Nieto2014-04-181-54/+2
* config: refcount the values mapCarlos Martín Nieto2014-04-181-43/+131
* config: refresh on deleteCarlos Martín Nieto2014-04-181-51/+12
* config: refresh before reading a valueCarlos Martín Nieto2014-04-181-3/+12
* config: refresh the values on writeCarlos Martín Nieto2014-04-181-82/+17
* config: use a snapshot for the iteratorCarlos Martín Nieto2014-04-181-3/+17
* config: split out the refresh stepCarlos Martín Nieto2014-04-181-14/+25
* config: make refresh atomicCarlos Martín Nieto2014-04-181-23/+16
* config: implement config snapshottingCarlos Martín Nieto2014-04-181-67/+263