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
d70ce9bd
Commit
d70ce9bd
authored
Jul 10, 2013
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify docs for git_status_file
parent
bd679796
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
include/git2/status.h
+4
-4
No files found.
include/git2/status.h
View file @
d70ce9bd
...
@@ -234,12 +234,12 @@ GIT_EXTERN(int) git_status_foreach_ext(
...
@@ -234,12 +234,12 @@ GIT_EXTERN(int) git_status_foreach_ext(
* This is not quite the same as calling `git_status_foreach_ext()` with
* This is not quite the same as calling `git_status_foreach_ext()` with
* the pathspec set to the specified path.
* the pathspec set to the specified path.
*
*
* @param status_flags
The status value for the
file
* @param status_flags
Output combination of git_status_t values for
file
* @param repo A repository object
* @param repo A repository object
* @param path The file to retrieve status for
, rooted at the repo's
workdir
* @param path The file to retrieve status for
relative to the repo
workdir
* @return 0 on success, GIT_ENOTFOUND if the file is not found in the HEAD,
* @return 0 on success, GIT_ENOTFOUND if the file is not found in the HEAD,
* index, and work tree, GIT_E
INVALIDPATH if `path` points at a folder,
* index, and work tree, GIT_E
AMBIGUOUS if `path` matches multiple files
*
GIT_EAMBIGUOUS if "path" matches multiple files, -1 on other error
.
*
or if it refers to a folder, and -1 on other errors
.
*/
*/
GIT_EXTERN
(
int
)
git_status_file
(
GIT_EXTERN
(
int
)
git_status_file
(
unsigned
int
*
status_flags
,
unsigned
int
*
status_flags
,
...
...
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