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
5280f4e6
Commit
5280f4e6
authored
Jul 31, 2012
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add checkout.h to git2.h.
Also correcting some documentation strings.
parent
78cd966a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
include/git2.h
+1
-0
include/git2/checkout.h
+2
-2
include/git2/clone.h
+2
-2
No files found.
include/git2.h
View file @
5280f4e6
...
...
@@ -38,6 +38,7 @@
#include "git2/config.h"
#include "git2/remote.h"
#include "git2/clone.h"
#include "git2/checkout.h"
#include "git2/attr.h"
#include "git2/branch.h"
...
...
include/git2/checkout.h
View file @
5280f4e6
...
...
@@ -40,7 +40,7 @@ typedef struct git_checkout_opts {
* @param repo repository to check out (must be non-bare)
* @param opts specifies checkout options (may be NULL)
* @param stats structure through which progress information is reported
* @return 0 on success, GIT_ERROR otherwise (use git
_erro
r_last for information about the error)
* @return 0 on success, GIT_ERROR otherwise (use git
er
r_last for information about the error)
*/
GIT_EXTERN
(
int
)
git_checkout_head
(
git_repository
*
repo
,
git_checkout_opts
*
opts
,
...
...
@@ -54,7 +54,7 @@ GIT_EXTERN(int) git_checkout_head(git_repository *repo,
* @param ref reference to follow to a commit
* @param opts specifies checkout options (may be NULL)
* @param stats structure through which progress information is reported
* @return 0 on success, GIT_ERROR otherwise (use git
_erro
r_last for information about the error)
* @return 0 on success, GIT_ERROR otherwise (use git
er
r_last for information about the error)
*/
GIT_EXTERN
(
int
)
git_checkout_reference
(
git_reference
*
ref
,
git_checkout_opts
*
opts
,
...
...
include/git2/clone.h
View file @
5280f4e6
...
...
@@ -30,7 +30,7 @@ GIT_BEGIN_DECL
* @param workdir_path local directory to clone to
* @param fetch_stats pointer to structure that receives fetch progress information (may be NULL)
* @param checkout_opts options for the checkout step (may be NULL)
* @return 0 on success, GIT_ERROR otherwise (use git
_erro
r_last for information about the error)
* @return 0 on success, GIT_ERROR otherwise (use git
er
r_last for information about the error)
*/
GIT_EXTERN
(
int
)
git_clone
(
git_repository
**
out
,
const
char
*
origin_url
,
...
...
@@ -46,7 +46,7 @@ GIT_EXTERN(int) git_clone(git_repository **out,
* @param origin_url repository to clone from
* @param dest_path local directory to clone to
* @param fetch_stats pointer to structure that receives fetch progress information (may be NULL)
* @return 0 on success, GIT_ERROR otherwise (use git
_erro
r_last for information about the error)
* @return 0 on success, GIT_ERROR otherwise (use git
er
r_last for information about the error)
*/
GIT_EXTERN
(
int
)
git_clone_bare
(
git_repository
**
out
,
const
char
*
origin_url
,
...
...
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