Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
326ca710
Commit
326ca710
authored
Jul 19, 2012
by
nulltoken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branch: remove useless header
parent
944d250f
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
22 deletions
+2
-22
src/branch.c
+2
-1
src/branch.h
+0
-17
tests-clar/refs/branches/create.c
+0
-1
tests-clar/refs/branches/delete.c
+0
-1
tests-clar/refs/branches/foreach.c
+0
-1
tests-clar/refs/branches/move.c
+0
-1
No files found.
src/branch.c
View file @
326ca710
...
@@ -7,9 +7,10 @@
...
@@ -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
,
...
...
src/branch.h
deleted
100644 → 0
View file @
944d250f
/*
* 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
tests-clar/refs/branches/create.c
View file @
326ca710
#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
;
...
...
tests-clar/refs/branches/delete.c
View file @
326ca710
#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
;
...
...
tests-clar/refs/branches/foreach.c
View file @
326ca710
#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
;
...
...
tests-clar/refs/branches/move.c
View file @
326ca710
#include "clar_libgit2.h"
#include "clar_libgit2.h"
#include "branch.h"
static
git_repository
*
repo
;
static
git_repository
*
repo
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment