summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-05-17 16:39:09 +0200
committerCarlos Martín Nieto <cmn@elego.de>2011-06-08 00:23:25 +0200
commit8bb198e6744daa16cde3f8cea3669b86df83897d (patch)
tree31f2d1d030da05c88f54029ced8302023613f994 /include/git2/commit.h
parent3b3577c764ad06cd24bb9047107022abdf6fea90 (diff)
downloadlibgit2-8bb198e6744daa16cde3f8cea3669b86df83897d.tar.gz
config: implement config writing
After each variable gets set, we store it in our list (not completely in the right position, but the close enough). Then we write out the new config file in the same way that git.git does it (keep the rest of the file intact and insert or replace the variable in its line). Overwriting variables and adding new ones is supported (even on new sections), though deleting isn't yet. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions