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
70f7e2c6
Commit
70f7e2c6
authored
Oct 27, 2014
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge from 2660
parents
d09458f3
fad0aea9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
tests/network/fetchlocal.c
+2
-1
No files found.
tests/network/fetchlocal.c
View file @
70f7e2c6
...
...
@@ -135,6 +135,7 @@ void test_network_fetchlocal__multi_remotes(void)
git_strarray
refnames
=
{
0
};
git_remote_callbacks
callbacks
=
GIT_REMOTE_CALLBACKS_INIT
;
cl_set_cleanup
(
&
cleanup_sandbox
,
NULL
);
callbacks
.
transfer_progress
=
transfer_cb
;
cl_git_pass
(
git_remote_load
(
&
test
,
repo
,
"test"
));
cl_git_pass
(
git_remote_set_url
(
test
,
cl_git_fixture_url
(
"testrepo.git"
)));
...
...
@@ -145,6 +146,7 @@ void test_network_fetchlocal__multi_remotes(void)
cl_git_pass
(
git_reference_list
(
&
refnames
,
repo
));
cl_assert_equal_i
(
32
,
(
int
)
refnames
.
count
);
git_strarray_free
(
&
refnames
);
cl_git_pass
(
git_remote_load
(
&
test2
,
repo
,
"test_with_pushurl"
));
cl_git_pass
(
git_remote_set_url
(
test2
,
cl_git_fixture_url
(
"testrepo.git"
)));
...
...
@@ -159,5 +161,4 @@ void test_network_fetchlocal__multi_remotes(void)
git_strarray_free
(
&
refnames
);
git_remote_free
(
test
);
git_remote_free
(
test2
);
git_repository_free
(
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