diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-05-14 10:58:23 -0700 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-05-14 10:58:23 -0700 |
| commit | 27f5b7cfed263a2b0cc01f6f7b6036a1b5ec9ec9 (patch) | |
| tree | ecf99a3683394673d1270e419596bf7452437e59 /include | |
| parent | 0c9a5565f7f4fdf70c72c5a92a1deeef7aaac6e3 (diff) | |
| parent | a7c09c0d6b9910dda782d683c308e779c2195012 (diff) | |
| download | libgit2-27f5b7cfed263a2b0cc01f6f7b6036a1b5ec9ec9.tar.gz | |
Merge pull request #682 from arrbee/attribute-cache-buster
Attribute cache buster
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/status.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/status.h b/include/git2/status.h index f5fc95f0a..0aff56a65 100644 --- a/include/git2/status.h +++ b/include/git2/status.h @@ -139,13 +139,13 @@ GIT_EXTERN(int) git_status_file(unsigned int *status_flags, git_repository *repo * would be ignored regardless of whether the file is already in the index * or in the repository. * + * @param ignored boolean returning 0 if the file is not ignored, 1 if it is * @param repo a repository object * @param path the file to check ignores for, rooted at the repo's workdir - * @param ignored boolean returning 0 if the file is not ignored, 1 if it is * @return GIT_SUCCESS if the ignore rules could be processed for the file * (regardless of whether it exists or not), or an error < 0 if they could not. */ -GIT_EXTERN(int) git_status_should_ignore(git_repository *repo, const char *path, int *ignored); +GIT_EXTERN(int) git_status_should_ignore(int *ignored, git_repository *repo, const char *path); /** @} */ GIT_END_DECL |
