diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-10-07 00:20:08 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-10-07 00:20:08 +0300 |
commit | ec25391dbb5ee6800b48362deadd73599701224f (patch) | |
tree | 3d827e1f427ff393d56dfff68a8fa7ee7c2e093b /src/commit.h | |
parent | c4b5bedc972d9238db5d6422bc6f4de35b4b67ed (diff) | |
download | libgit2-ec25391dbb5ee6800b48362deadd73599701224f.tar.gz |
Add write-back support for Tag files
Tag files can now be created and modified in-memory (all the setter
methods have been implemented), and written back to disk using the
generic git_object_write() method.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/commit.h')
-rw-r--r-- | src/commit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commit.h b/src/commit.h index 8039930f7..39a7a52ff 100644 --- a/src/commit.h +++ b/src/commit.h @@ -32,12 +32,13 @@ void git_commit__free(git_commit *c); int git_commit__parse(git_commit *commit); int git_commit__parse_full(git_commit *commit); int git_commit__parse_buffer(git_commit *commit, void *data, size_t len, unsigned int parse_flags); -void git_commit__mark_uninteresting(git_commit *commit); int git_commit__writeback(git_commit *commit, git_odb_source *src); int git__parse_oid(git_oid *oid, char **buffer_out, const char *buffer_end, const char *header); int git__parse_person(git_person *person, char **buffer_out, const char *buffer_end, const char *header); +int git__write_oid(git_odb_source *src, const char *header, const git_oid *oid); +int git__write_person(git_odb_source *src, const char *header, const git_person *person); #endif |