diff options
author | Ben Straub <bs@github.com> | 2013-09-22 09:02:23 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-09-22 09:17:18 +0400 |
commit | b6f60a4d964d66b562092fdeb8f76e902bf05fa4 (patch) | |
tree | fc989d2f934b3829c453e0b2f93928f2242092ee /src/blame_git.h | |
parent | 77db6ff5c7b5a233b6dae24347b660f2752c1359 (diff) |
Clean up ported code
Diffstat (limited to 'src/blame_git.h')
-rw-r--r-- | src/blame_git.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/blame_git.h b/src/blame_git.h index 28d6422b2..2b780116b 100644 --- a/src/blame_git.h +++ b/src/blame_git.h @@ -1,16 +1,21 @@ - +/* + * Copyright (C) the libgit2 contributors. All rights reserved. + * + * This file is part of libgit2, distributed under the GNU GPL v2 with + * a Linking Exception. For full terms see the included COPYING file. + */ #ifndef INCLUDE_blame_git__ #define INCLUDE_blame_git__ -#include "git2.h" #include "blame.h" #include "xdiff/xinclude.h" -int get_origin(git_blame__origin **out, git_blame *sb, git_commit *commit, const char *path); -int make_origin(git_blame__origin **out, git_commit *commit, const char *path); -git_blame__origin *origin_incref(git_blame__origin *o); -void origin_decref(git_blame__origin *o); -void assign_blame(git_blame *sb, uint32_t flags); -void coalesce(git_blame *sb); +int git_blame__get_origin( + git_blame__origin **out, + git_blame *sb, + git_commit *commit, + const char *path); +void git_blame__free_entry(git_blame__entry *ent); +void git_blame__like_git(git_blame *sb, uint32_t flags); #endif |