]> git.proxmox.com Git - libgit2.git/commit - include/git2/commit.h
Add setter methods & write support for git_commit
authorVicent Marti <tanoku@gmail.com>
Sun, 19 Sep 2010 22:57:53 +0000 (01:57 +0300)
committerVicent Marti <tanoku@gmail.com>
Sun, 19 Sep 2010 23:04:06 +0000 (02:04 +0300)
commit0c3596f18a6f07d8a61f8d6e2fd730a276a51599
tree02add71c1efc95d8c9eead36edca9b2996f5d602
parente802d8cca8b7fddb8ae157b84fb7c1e84671546d
Add setter methods & write support for git_commit

All the required git_commit_set_XXX methods have been implemented; all
the attributes of a commit object can now be modified in-memory.

The new method git_object_write() automatically writes back the
in-memory changes of any object to the repository. So far it only
supports git_commit objects.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
src/commit.c
src/commit.h
src/git/commit.h
src/odb.c
src/repository.c
src/repository.h
src/revwalk.c
tests/t0401-parse.c