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
bbe1957b
Commit
bbe1957b
authored
Oct 21, 2015
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Fix warnings
parent
128e94bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
tests/diff/workdir.c
+1
-1
tests/revwalk/basic.c
+2
-1
No files found.
tests/diff/workdir.c
View file @
bbe1957b
...
...
@@ -2080,7 +2080,7 @@ void test_diff_workdir__to_index_pathlist(void)
cl_git_pass
(
git_repository_index
(
&
index
,
g_repo
));
opts
.
flags
=
GIT_DIFF_INCLUDE_IGNORED
;
opts
.
pathspec
.
strings
=
pathlist
.
contents
;
opts
.
pathspec
.
strings
=
(
char
**
)
pathlist
.
contents
;
opts
.
pathspec
.
count
=
pathlist
.
length
;
cl_git_pass
(
git_diff_index_to_workdir
(
&
diff
,
g_repo
,
index
,
&
opts
));
...
...
tests/revwalk/basic.c
View file @
bbe1957b
...
...
@@ -456,7 +456,8 @@ void test_revwalk_basic__big_timestamp(void)
cl_git_pass
(
git_signature_new
(
&
sig
,
"Joe"
,
"joe@example.com"
,
2399662595
,
0
));
cl_git_pass
(
git_commit_tree
(
&
tree
,
tip
));
cl_git_pass
(
git_commit_create
(
&
id
,
_repo
,
"HEAD"
,
sig
,
sig
,
NULL
,
"some message"
,
tree
,
1
,
&
tip
));
cl_git_pass
(
git_commit_create
(
&
id
,
_repo
,
"HEAD"
,
sig
,
sig
,
NULL
,
"some message"
,
tree
,
1
,
(
const
git_commit
**
)
&
tip
));
cl_git_pass
(
git_revwalk_push_head
(
_walk
));
...
...
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