diff options
| author | Vicent Martà <vicent@github.com> | 2012-11-29 02:05:46 -0800 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2012-11-29 02:05:46 -0800 |
| commit | e2934db2c760846e14113bdc474935d701d92845 (patch) | |
| tree | 13ea1d9cfc0dc93d18979471a2d6e4fa0f537687 /include/git2 | |
| parent | ee06fec507360d50cd1c8c8d662f1d4f3e492624 (diff) | |
| parent | d46b0a04c7733e430a50a9d2df195bec87d5dae6 (diff) | |
| download | libgit2-e2934db2c760846e14113bdc474935d701d92845.tar.gz | |
Merge pull request #1090 from arrbee/ignore-invalid-by-default
Ignore invalid entries by default
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/ignore.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/git2/ignore.h b/include/git2/ignore.h index e18615edd..592c96e65 100644 --- a/include/git2/ignore.h +++ b/include/git2/ignore.h @@ -41,9 +41,10 @@ GIT_EXTERN(int) git_ignore_add_rule( /** * Clear ignore rules that were explicitly added. * - * Clears the internal ignore rules that have been set up. This will not - * turn off the rules in .gitignore files that actually exist in the - * filesystem. + * Resets to the default internal ignore rules. This will not turn off + * rules in .gitignore files that actually exist in the filesystem. + * + * The default internal ignores ignore ".", ".." and ".git" entries. * * @param repo The repository to remove ignore rules from. * @return 0 on success |
