summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-19 15:32:58 +0200
committernulltoken <emeric.fermas@gmail.com>2012-07-24 16:09:42 +0200
commit326ca710a04cc43d3d5abba6ceb0452c126b7d1a (patch)
treefebbda573086af5da829e271b8574d04b5850fe4 /src
parent944d250f964698b33d9fa09e2e6af74b1dd84de2 (diff)
downloadlibgit2-326ca710a04cc43d3d5abba6ceb0452c126b7d1a.tar.gz
branch: remove useless header
Diffstat (limited to 'src')
-rw-r--r--src/branch.c3
-rw-r--r--src/branch.h17
2 files changed, 2 insertions, 18 deletions
diff --git a/src/branch.c b/src/branch.c
index 671e42051..a59577d67 100644
--- a/src/branch.c
+++ b/src/branch.c
@@ -7,9 +7,10 @@
#include "common.h"
#include "commit.h"
-#include "branch.h"
#include "tag.h"
+#include "git2/branch.h"
+
static int retrieve_branch_reference(
git_reference **branch_reference_out,
git_repository *repo,
diff --git a/src/branch.h b/src/branch.h
deleted file mode 100644
index d0e5abc8b..000000000
--- a/src/branch.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright (C) 2009-2012 the libgit2 contributors
- *
- * 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_branch_h__
-#define INCLUDE_branch_h__
-
-#include "git2/branch.h"
-
-struct git_branch {
- char *remote; /* TODO: Make this a git_remote */
- char *merge;
-};
-
-#endif