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
42156d56
Commit
42156d56
authored
Jul 20, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3315 from rcorre/docfix
Document git_fetch_options struct and fix typo.
parents
274f0b93
37996d47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
include/git2/remote.h
+9
-1
No files found.
include/git2/remote.h
View file @
42156d56
...
@@ -511,6 +511,14 @@ typedef enum {
...
@@ -511,6 +511,14 @@ typedef enum {
GIT_REMOTE_DOWNLOAD_TAGS_ALL
,
GIT_REMOTE_DOWNLOAD_TAGS_ALL
,
}
git_remote_autotag_option_t
;
}
git_remote_autotag_option_t
;
/**
* Fetch options structure.
*
* Zero out for defaults. Initialize with `GIT_FETCH_OPTIONS_INIT` macro to
* correctly set the `version` field. E.g.
*
* git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;
*/
typedef
struct
{
typedef
struct
{
int
version
;
int
version
;
...
@@ -739,7 +747,7 @@ GIT_EXTERN(int) git_remote_prune_refs(const git_remote *remote);
...
@@ -739,7 +747,7 @@ GIT_EXTERN(int) git_remote_prune_refs(const git_remote *remote);
* stored here for further processing by the caller. Always free this
* stored here for further processing by the caller. Always free this
* strarray on successful return.
* strarray on successful return.
* @param repo the repository in which to rename
* @param repo the repository in which to rename
* @param name the current name of the re
a
mote
* @param name the current name of the remote
* @param new_name the new name the remote should bear
* @param new_name the new name the remote should bear
* @return 0, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code
* @return 0, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code
*/
*/
...
...
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