diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-07-09 04:37:16 +0400 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-09 04:40:16 +0400 |
commit | 06c43821b94dcf9fa4f95f29c12f77d18a402690 (patch) | |
tree | 219e1f975109df1989bdcd86611e59ccf1ca403e /src/repository.h | |
parent | afeecf4f262b74270368ef8a70c582ea9d5a18e8 (diff) |
Remove unused methods
The direct-writes commit left some (slow) internals methods that
were no longer needed. These have been removed.
Also, the Reflog code was using the old `git_signature__write`, so
it has been rewritten to use a normal buffer and the new `writebuf`
signature writer. It's now slightly simpler and faster.
Diffstat (limited to 'src/repository.h')
-rw-r--r-- | src/repository.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/repository.h b/src/repository.h index 1cf426128..2e0b9e352 100644 --- a/src/repository.h +++ b/src/repository.h @@ -43,8 +43,7 @@ struct git_repository { * export */ void git_object__free(void *object); -int git__parse_oid(git_oid *oid, const char **buffer_out, const char *buffer_end, const char *header); -int git__write_oid(git_odb_stream *src, const char *header, const git_oid *oid); +int git_oid__parse(git_oid *oid, const char **buffer_out, const char *buffer_end, const char *header); void git_oid__writebuf(git_buf *buf, const char *header, const git_oid *oid); #endif |