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/tag.c | |
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/tag.c')
-rw-r--r-- | src/tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ static int parse_tag_buffer(git_tag *tag, const char *buffer, const char *buffer char *search; int error; - if ((error = git__parse_oid(&tag->target, &buffer, buffer_end, "object ")) < 0) + if ((error = git_oid__parse(&tag->target, &buffer, buffer_end, "object ")) < 0) return git__rethrow(error, "Failed to parse tag. Object field invalid"); if (buffer + 5 >= buffer_end) |