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
75db289a
Commit
75db289a
authored
Dec 20, 2016
by
Carlos Martín Nieto
Committed by
GitHub
Dec 20, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3980 from tiennou/doc-fixes
Documentation fixes
parents
42864e58
8d400c09
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
include/git2/describe.h
+5
-2
include/git2/remote.h
+2
-2
include/git2/transaction.h
+9
-0
No files found.
include/git2/describe.h
View file @
75db289a
...
@@ -44,8 +44,8 @@ typedef enum {
...
@@ -44,8 +44,8 @@ typedef enum {
typedef
struct
git_describe_options
{
typedef
struct
git_describe_options
{
unsigned
int
version
;
unsigned
int
version
;
unsigned
int
max_candidates_tags
;
/** default: 10 */
unsigned
int
max_candidates_tags
;
/**
<
default: 10 */
unsigned
int
describe_strategy
;
/** default: GIT_DESCRIBE_DEFAULT */
unsigned
int
describe_strategy
;
/**
<
default: GIT_DESCRIBE_DEFAULT */
const
char
*
pattern
;
const
char
*
pattern
;
/**
/**
* When calculating the distance from the matching tag or
* When calculating the distance from the matching tag or
...
@@ -105,6 +105,9 @@ typedef struct {
...
@@ -105,6 +105,9 @@ typedef struct {
GIT_EXTERN
(
int
)
git_describe_init_format_options
(
git_describe_format_options
*
opts
,
unsigned
int
version
);
GIT_EXTERN
(
int
)
git_describe_init_format_options
(
git_describe_format_options
*
opts
,
unsigned
int
version
);
/**
* A struct that stores the result of a describe operation.
*/
typedef
struct
git_describe_result
git_describe_result
;
typedef
struct
git_describe_result
git_describe_result
;
/**
/**
...
...
include/git2/remote.h
View file @
75db289a
...
@@ -26,8 +26,6 @@
...
@@ -26,8 +26,6 @@
*/
*/
GIT_BEGIN_DECL
GIT_BEGIN_DECL
typedef
int
(
*
git_remote_rename_problem_cb
)(
const
char
*
problematic_refspec
,
void
*
payload
);
/**
/**
* Add a remote with the default fetch refspec to the repository's configuration.
* Add a remote with the default fetch refspec to the repository's configuration.
*
*
...
@@ -360,6 +358,8 @@ typedef struct {
...
@@ -360,6 +358,8 @@ typedef struct {
}
git_push_update
;
}
git_push_update
;
/**
/**
* Callback used to inform of upcoming updates.
*
* @param updates an array containing the updates which will be sent
* @param updates an array containing the updates which will be sent
* as commands to the destination.
* as commands to the destination.
* @param len number of elements in `updates`
* @param len number of elements in `updates`
...
...
include/git2/transaction.h
View file @
75db289a
...
@@ -8,6 +8,14 @@
...
@@ -8,6 +8,14 @@
#define INCLUDE_git_transaction_h__
#define INCLUDE_git_transaction_h__
#include "common.h"
#include "common.h"
/**
* @file git2/transaction.h
* @brief Git transactional reference routines
* @defgroup git_transaction Git transactional reference routines
* @ingroup Git
* @{
*/
GIT_BEGIN_DECL
GIT_BEGIN_DECL
/**
/**
...
@@ -107,5 +115,6 @@ GIT_EXTERN(int) git_transaction_commit(git_transaction *tx);
...
@@ -107,5 +115,6 @@ GIT_EXTERN(int) git_transaction_commit(git_transaction *tx);
*/
*/
GIT_EXTERN
(
void
)
git_transaction_free
(
git_transaction
*
tx
);
GIT_EXTERN
(
void
)
git_transaction_free
(
git_transaction
*
tx
);
/** @} */
GIT_END_DECL
GIT_END_DECL
#endif
#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