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
8113056c
Commit
8113056c
authored
Jun 23, 2015
by
Pierre-Olivier Latour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Xcode 6.1 build warnings
parent
cc605e73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/repo/open.c
+2
-2
No files found.
tests/repo/open.c
View file @
8113056c
...
...
@@ -22,17 +22,17 @@ void test_repo_open__bare_empty_repo(void)
void
test_repo_open__format_version_1
(
void
)
{
git_buf
path
=
GIT_BUF_INIT
;
git_repository
*
repo
;
git_config
*
config
;
repo
=
cl_git_sandbox_init
(
"empty_bare.git"
);
cl_git_pass
(
git_repository_open
(
&
repo
,
"empty_bare.git"
));
cl_git_pass
(
git_repository_config
__weakptr
(
&
config
,
repo
));
cl_git_pass
(
git_repository_config
(
&
config
,
repo
));
cl_git_pass
(
git_config_set_int32
(
config
,
"core.repositoryformatversion"
,
1
));
git_config_free
(
config
);
git_repository_free
(
repo
);
cl_git_fail
(
git_repository_open
(
&
repo
,
"empty_bare.git"
));
}
...
...
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