mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 12:24:11 +00:00
branch: remove useless header
This commit is contained in:
parent
944d250f96
commit
326ca710a0
@ -7,9 +7,10 @@
|
|||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "commit.h"
|
#include "commit.h"
|
||||||
#include "branch.h"
|
|
||||||
#include "tag.h"
|
#include "tag.h"
|
||||||
|
|
||||||
|
#include "git2/branch.h"
|
||||||
|
|
||||||
static int retrieve_branch_reference(
|
static int retrieve_branch_reference(
|
||||||
git_reference **branch_reference_out,
|
git_reference **branch_reference_out,
|
||||||
git_repository *repo,
|
git_repository *repo,
|
||||||
|
17
src/branch.h
17
src/branch.h
@ -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
|
|
@ -1,6 +1,5 @@
|
|||||||
#include "clar_libgit2.h"
|
#include "clar_libgit2.h"
|
||||||
#include "refs.h"
|
#include "refs.h"
|
||||||
#include "branch.h"
|
|
||||||
|
|
||||||
static git_repository *repo;
|
static git_repository *repo;
|
||||||
static git_oid branch_target_oid;
|
static git_oid branch_target_oid;
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#include "clar_libgit2.h"
|
#include "clar_libgit2.h"
|
||||||
#include "refs.h"
|
#include "refs.h"
|
||||||
#include "branch.h"
|
|
||||||
|
|
||||||
static git_repository *repo;
|
static git_repository *repo;
|
||||||
static git_reference *fake_remote;
|
static git_reference *fake_remote;
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#include "clar_libgit2.h"
|
#include "clar_libgit2.h"
|
||||||
#include "refs.h"
|
#include "refs.h"
|
||||||
#include "branch.h"
|
|
||||||
|
|
||||||
static git_repository *repo;
|
static git_repository *repo;
|
||||||
static git_reference *fake_remote;
|
static git_reference *fake_remote;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include "clar_libgit2.h"
|
#include "clar_libgit2.h"
|
||||||
#include "branch.h"
|
|
||||||
|
|
||||||
static git_repository *repo;
|
static git_repository *repo;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user