branch: remove useless header

This commit is contained in:
nulltoken 2012-07-19 15:32:58 +02:00
parent 944d250f96
commit 326ca710a0
6 changed files with 2 additions and 22 deletions

View File

@ -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,

View File

@ -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

View File

@ -1,6 +1,5 @@
#include "clar_libgit2.h"
#include "refs.h"
#include "branch.h"
static git_repository *repo;
static git_oid branch_target_oid;

View File

@ -1,6 +1,5 @@
#include "clar_libgit2.h"
#include "refs.h"
#include "branch.h"
static git_repository *repo;
static git_reference *fake_remote;

View File

@ -1,6 +1,5 @@
#include "clar_libgit2.h"
#include "refs.h"
#include "branch.h"
static git_repository *repo;
static git_reference *fake_remote;

View File

@ -1,5 +1,4 @@
#include "clar_libgit2.h"
#include "branch.h"
static git_repository *repo;