Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-09-22 09:02:23 +0400
committerBen Straub <bs@github.com>2013-09-22 09:17:18 +0400
commitb6f60a4d964d66b562092fdeb8f76e902bf05fa4 (patch)
treefc989d2f934b3829c453e0b2f93928f2242092ee /src/blame_git.h
parent77db6ff5c7b5a233b6dae24347b660f2752c1359 (diff)
Clean up ported code
Diffstat (limited to 'src/blame_git.h')
-rw-r--r--src/blame_git.h21
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