summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-11-08 16:49:30 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2014-11-08 16:49:30 -0500
commit09d1408c52fa5b3f821c4dd56190d889a0f1fef1 (patch)
tree0f535ab30c389eaa54f84168bcf6e85309466e61 /include/git2
parent4e1b3b3b7186b017223b8302a51289ff92ccba25 (diff)
parent68182085694d76b97eb747960195917df69500c8 (diff)
downloadlibgit2-09d1408c52fa5b3f821c4dd56190d889a0f1fef1.tar.gz
Merge pull request #2694 from Therzok/statusFile
git_status_file now takes an exact path.
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/status.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/status.h b/include/git2/status.h
index 3c86e5d7b..5f211810d 100644
--- a/include/git2/status.h
+++ b/include/git2/status.h
@@ -281,7 +281,8 @@ GIT_EXTERN(int) git_status_foreach_ext(
*
* @param status_flags Output combination of git_status_t values for file
* @param repo A repository object
- * @param path The file to retrieve status for relative to the repo workdir
+ * @param path The exact path to retrieve status for relative to the
+ * repository working directory
* @return 0 on success, GIT_ENOTFOUND if the file is not found in the HEAD,
* index, and work tree, GIT_EAMBIGUOUS if `path` matches multiple files
* or if it refers to a folder, and -1 on other errors.