diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-01 08:45:15 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-08-12 04:09:08 +0200 |
| commit | 3ce9e4d23572718deeab438ce149013eece57371 (patch) | |
| tree | 7b778823468e99f4df09319f5b90df23a0a25625 /include/git2 | |
| parent | bbbd0cbd6dcec05fd21a1cad173fd0b79e5a4010 (diff) | |
| download | libgit2-3ce9e4d23572718deeab438ce149013eece57371.tar.gz | |
config: write the modified file to memory
Instead of writing into the filebuf directly, make the functions to
write the modified config file write into a buffer which can then be
dumped into the lockfile for committing.
This allows us to re-use the same code for modifying a locked
configuration, as we can simply skip the last step of dumping the data
to disk.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions
