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
b84e58f4
Commit
b84e58f4
authored
Feb 25, 2017
by
Richard Ipsum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace and style fixes
Use C style comments as per style guide, and fix mismatching indentation.
parent
d2b3a21f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tests/refs/create.c
+5
-5
No files found.
tests/refs/create.c
View file @
b84e58f4
...
...
@@ -12,12 +12,12 @@ static git_repository *g_repo;
void
test_refs_create__initialize
(
void
)
{
g_repo
=
cl_git_sandbox_init
(
"testrepo"
);
g_repo
=
cl_git_sandbox_init
(
"testrepo"
);
}
void
test_refs_create__cleanup
(
void
)
{
cl_git_sandbox_cleanup
();
cl_git_sandbox_cleanup
();
cl_git_pass
(
git_libgit2_opts
(
GIT_OPT_ENABLE_STRICT_OBJECT_CREATION
,
1
));
cl_git_pass
(
git_libgit2_opts
(
GIT_OPT_ENABLE_STRICT_SYMBOLIC_REF_CREATION
,
1
));
...
...
@@ -25,7 +25,7 @@ void test_refs_create__cleanup(void)
void
test_refs_create__symbolic
(
void
)
{
// create a new symbolic reference
/* create a new symbolic reference */
git_reference
*
new_reference
,
*
looked_up_ref
,
*
resolved_ref
;
git_repository
*
repo2
;
git_oid
id
;
...
...
@@ -116,7 +116,7 @@ void test_refs_create__symbolic_with_arbitrary_content(void)
void
test_refs_create__deep_symbolic
(
void
)
{
// create a deep symbolic reference
/* create a deep symbolic reference */
git_reference
*
new_reference
,
*
looked_up_ref
,
*
resolved_ref
;
git_oid
id
;
...
...
@@ -136,7 +136,7 @@ void test_refs_create__deep_symbolic(void)
void
test_refs_create__oid
(
void
)
{
// create a new OID reference
/* create a new OID reference */
git_reference
*
new_reference
,
*
looked_up_ref
;
git_repository
*
repo2
;
git_oid
id
;
...
...
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