summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-01 08:45:15 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-08-12 04:09:08 +0200
commit3ce9e4d23572718deeab438ce149013eece57371 (patch)
tree7b778823468e99f4df09319f5b90df23a0a25625 /include/git2
parentbbbd0cbd6dcec05fd21a1cad173fd0b79e5a4010 (diff)
downloadlibgit2-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