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
2b7fffa8
Commit
2b7fffa8
authored
Jul 28, 2011
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #341 from carlosmn/development
Fixup network headers
parents
0b762f89
1e76676f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
include/git2/net.h
+9
-9
include/git2/remote.h
+9
-1
No files found.
include/git2/net.h
View file @
2b7fffa8
...
...
@@ -29,6 +29,14 @@
#include "oid.h"
#include "types.h"
/**
* @file git2/net.h
* @brief Git networking declarations
* @ingroup Git
* @{
*/
GIT_BEGIN_DECL
#define GIT_DEFAULT_PORT "9418"
/*
...
...
@@ -41,14 +49,6 @@
#define GIT_DIR_PUSH 1
/**
* @file git2/net.h
* @brief Git networking declarations
* @ingroup Git
* @{
*/
GIT_BEGIN_DECL
/**
* Remote head description, given out on `ls` calls.
*/
struct
git_remote_head
{
...
...
@@ -64,6 +64,6 @@ struct git_headarray {
struct
git_remote_head
**
heads
;
};
/** @} */
GIT_END_DECL
#endif
include/git2/remote.h
View file @
2b7fffa8
...
...
@@ -28,6 +28,14 @@
#include "git2/common.h"
#include "git2/repository.h"
#include "git2/refspec.h"
/**
* @file git2/remote.h
* @brief Git remote management functions
* @defgroup git_remote remote management functions
* @ingroup Git
* @{
*/
GIT_BEGIN_DECL
/*
* TODO: This functions still need to be implemented:
...
...
@@ -117,6 +125,6 @@ GIT_EXTERN(int) git_remote_ls(git_remote *remote, git_headarray *refs);
*/
GIT_EXTERN
(
void
)
git_remote_free
(
struct
git_remote
*
remote
);
/** @} */
GIT_END_DECL
#endif
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