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
1c7eb971
Commit
1c7eb971
authored
Jul 10, 2012
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindent.
parent
8fb5e403
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
src/clone.c
+0
-2
tests-clar/clone/clone.c
+4
-8
No files found.
src/clone.c
View file @
1c7eb971
...
...
@@ -154,8 +154,6 @@ static int update_head_to_remote(git_repository *repo, git_remote *remote)
/*
* submodules?
* filemodes?
* Line endings
*/
...
...
tests-clar/clone/clone.c
View file @
1c7eb971
...
...
@@ -91,12 +91,10 @@ void test_clone_clone__network_full(void)
#if 0
git_remote *origin;
cl_git_pass(git_clone(&g_repo,
"https://github.com/libgit2/GitForDelphi.git",
"./libgit2", NULL));
cl_git_pass(git_clone(&g_repo, "http://github.com/libgit2/node-gitteh", "./attr", NULL));
cl_assert(!git_repository_is_bare(g_repo));
cl_git_pass(git_remote_load(&origin, g_repo, "origin"));
git_futils_rmdir_r("./libgit2
", GIT_DIRREMOVAL_FILES_AND_DIRS);
git_futils_rmdir_r("./attr
", GIT_DIRREMOVAL_FILES_AND_DIRS);
#endif
}
...
...
@@ -105,12 +103,10 @@ void test_clone_clone__network_bare(void)
#if 0
git_remote *origin;
cl_git_pass(git_clone_bare(&g_repo,
"https://github.com/libgit2/GitForDelphi.git",
"./libgit2.git", NULL));
cl_git_pass(git_clone_bare(&g_repo, "http://github.com/libgit2/node-gitteh", "attr", NULL));
cl_assert(git_repository_is_bare(g_repo));
cl_git_pass(git_remote_load(&origin, g_repo, "origin"));
git_futils_rmdir_r("./libgit2.git
", GIT_DIRREMOVAL_FILES_AND_DIRS);
git_futils_rmdir_r("./attr
", GIT_DIRREMOVAL_FILES_AND_DIRS);
#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