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
6cec01b4
Commit
6cec01b4
authored
Apr 22, 2023
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shallow: move tests to online
parent
dd15c615
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
tests/libgit2/online/shallow.c
+4
-12
No files found.
tests/libgit2/
clo
ne/shallow.c
→
tests/libgit2/
onli
ne/shallow.c
View file @
6cec01b4
...
...
@@ -2,14 +2,6 @@
#include "futils.h"
#include "repository.h"
void
test_clone_shallow__initialize
(
void
)
{
}
void
test_clone_shallow__cleanup
(
void
)
{
}
static
int
remote_single_branch
(
git_remote
**
out
,
git_repository
*
repo
,
const
char
*
name
,
const
char
*
url
,
void
*
payload
)
{
GIT_UNUSED
(
payload
);
...
...
@@ -19,7 +11,7 @@ static int remote_single_branch(git_remote **out, git_repository *repo, const ch
return
0
;
}
void
test_
clo
ne_shallow__clone_depth_zero
(
void
)
void
test_
onli
ne_shallow__clone_depth_zero
(
void
)
{
git_str
path
=
GIT_STR_INIT
;
git_repository
*
repo
;
...
...
@@ -45,7 +37,7 @@ void test_clone_shallow__clone_depth_zero(void)
git_repository_free
(
repo
);
}
void
test_
clo
ne_shallow__clone_depth_one
(
void
)
void
test_
onli
ne_shallow__clone_depth_one
(
void
)
{
git_str
path
=
GIT_STR_INIT
;
git_repository
*
repo
;
...
...
@@ -86,7 +78,7 @@ void test_clone_shallow__clone_depth_one(void)
git_repository_free
(
repo
);
}
void
test_
clo
ne_shallow__clone_depth_five
(
void
)
void
test_
onli
ne_shallow__clone_depth_five
(
void
)
{
git_str
path
=
GIT_STR_INIT
;
git_repository
*
repo
;
...
...
@@ -129,7 +121,7 @@ void test_clone_shallow__clone_depth_five(void)
git_repository_free
(
repo
);
}
void
test_
clo
ne_shallow__unshallow
(
void
)
void
test_
onli
ne_shallow__unshallow
(
void
)
{
git_str
path
=
GIT_STR_INIT
;
git_repository
*
repo
;
...
...
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