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
92f91b0e
Commit
92f91b0e
authored
Oct 16, 2012
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clone: fix indentation
parent
c497a63b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
include/git2/clone.h
+12
-10
No files found.
include/git2/clone.h
View file @
92f91b0e
...
...
@@ -36,12 +36,13 @@ GIT_BEGIN_DECL
* @return 0 on success, GIT_ERROR otherwise (use giterr_last for information
* about the error)
*/
GIT_EXTERN
(
int
)
git_clone
(
git_repository
**
out
,
const
char
*
origin_url
,
const
char
*
workdir_path
,
git_indexer_stats
*
fetch_stats
,
git_indexer_stats
*
checkout_stats
,
git_checkout_opts
*
checkout_opts
);
GIT_EXTERN
(
int
)
git_clone
(
git_repository
**
out
,
const
char
*
origin_url
,
const
char
*
workdir_path
,
git_indexer_stats
*
fetch_stats
,
git_indexer_stats
*
checkout_stats
,
git_checkout_opts
*
checkout_opts
);
/**
* Create a bare clone of a remote repository.
...
...
@@ -52,10 +53,11 @@ GIT_EXTERN(int) git_clone(git_repository **out,
* @param fetch_stats pointer to structure that receives fetch progress information (may be NULL)
* @return 0 on success, GIT_ERROR otherwise (use giterr_last for information about the error)
*/
GIT_EXTERN
(
int
)
git_clone_bare
(
git_repository
**
out
,
const
char
*
origin_url
,
const
char
*
dest_path
,
git_indexer_stats
*
fetch_stats
);
GIT_EXTERN
(
int
)
git_clone_bare
(
git_repository
**
out
,
const
char
*
origin_url
,
const
char
*
dest_path
,
git_indexer_stats
*
fetch_stats
);
/** @} */
GIT_END_DECL
...
...
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