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
34ffe223
Commit
34ffe223
authored
Mar 24, 2014
by
Anurag Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified test for revwalk_hidecb
parent
892b7c9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/revwalk/hidecb.c
+2
-2
No files found.
tests/revwalk/hidecb.c
View file @
34ffe223
...
...
@@ -60,7 +60,7 @@ static int hide_none_cb(const git_oid *commit_id, void *data)
/* Hide some commits */
static
int
hide_commit_cb
(
const
git_oid
*
commit_id
,
void
*
data
)
{
if
(
0
==
git_oid_cmp
(
commit_id
,
&
commit_ids
[
3
]))
if
(
0
==
git_oid_cmp
(
commit_id
,
&
commit_ids
[
5
]))
return
1
;
else
return
0
;
...
...
@@ -165,7 +165,7 @@ void test_revwalk_hidecb__hide_some_commits(void)
i
++
;
}
cl_assert_equal_i
(
i
,
3
);
cl_assert_equal_i
(
i
,
4
);
cl_assert_equal_i
(
error
,
GIT_ITEROVER
);
git_revwalk_free
(
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