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
44d9f2cb
Commit
44d9f2cb
authored
Nov 27, 2012
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API updates for revwalk.h
parent
c9fc4a6f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
include/git2/revwalk.h
+8
-8
No files found.
include/git2/revwalk.h
View file @
44d9f2cb
...
...
@@ -63,11 +63,11 @@ GIT_BEGIN_DECL
* it is possible to have several revision walkers in
* several different threads walking the same repository.
*
* @param
walker
pointer to the new revision walker
* @param
out
pointer to the new revision walker
* @param repo the repo to walk through
* @return 0 or an error code
*/
GIT_EXTERN
(
int
)
git_revwalk_new
(
git_revwalk
**
walker
,
git_repository
*
repo
);
GIT_EXTERN
(
int
)
git_revwalk_new
(
git_revwalk
**
out
,
git_repository
*
repo
);
/**
* Reset the revision walker for reuse.
...
...
@@ -96,10 +96,10 @@ GIT_EXTERN(void) git_revwalk_reset(git_revwalk *walker);
* be started.
*
* @param walk the walker being used for the traversal.
* @param
o
id the oid of the commit to start from.
* @param id the oid of the commit to start from.
* @return 0 or an error code
*/
GIT_EXTERN
(
int
)
git_revwalk_push
(
git_revwalk
*
walk
,
const
git_oid
*
o
id
);
GIT_EXTERN
(
int
)
git_revwalk_push
(
git_revwalk
*
walk
,
const
git_oid
*
id
);
/**
* Push matching references
...
...
@@ -134,10 +134,10 @@ GIT_EXTERN(int) git_revwalk_push_head(git_revwalk *walk);
* output on the revision walk.
*
* @param walk the walker being used for the traversal.
* @param
o
id the oid of commit that will be ignored during the traversal
* @param
commit_
id the oid of commit that will be ignored during the traversal
* @return 0 or an error code
*/
GIT_EXTERN
(
int
)
git_revwalk_hide
(
git_revwalk
*
walk
,
const
git_oid
*
o
id
);
GIT_EXTERN
(
int
)
git_revwalk_hide
(
git_revwalk
*
walk
,
const
git_oid
*
commit_
id
);
/**
* Hide matching references.
...
...
@@ -198,12 +198,12 @@ GIT_EXTERN(int) git_revwalk_hide_ref(git_revwalk *walk, const char *refname);
*
* The revision walker is reset when the walk is over.
*
* @param o
id
Pointer where to store the oid of the next commit
* @param o
ut
Pointer where to store the oid of the next commit
* @param walk the walker to pop the commit from.
* @return 0 if the next commit was found;
* GIT_ITEROVER if there are no commits left to iterate
*/
GIT_EXTERN
(
int
)
git_revwalk_next
(
git_oid
*
o
id
,
git_revwalk
*
walk
);
GIT_EXTERN
(
int
)
git_revwalk_next
(
git_oid
*
o
ut
,
git_revwalk
*
walk
);
/**
* Change the sorting mode when iterating through the
...
...
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