diff --git a/ignore/src/gitignore.rs b/ignore/src/gitignore.rs index abcb3685..b6874d98 100644 --- a/ignore/src/gitignore.rs +++ b/ignore/src/gitignore.rs @@ -500,6 +500,8 @@ impl GitignoreBuilder { /// Toggle whether the globs should be matched case insensitively or not. /// + /// When this option is changed, only globs added after the change will be affected. + /// /// This is disabled by default. pub fn case_insensitive( &mut self, yes: bool diff --git a/ignore/src/overrides.rs b/ignore/src/overrides.rs index 955dc5ad..c63532af 100644 --- a/ignore/src/overrides.rs +++ b/ignore/src/overrides.rs @@ -140,6 +140,8 @@ impl OverrideBuilder { /// Toggle whether the globs should be matched case insensitively or not. /// + /// When this option is changed, only globs added after the change will be affected. + /// /// This is disabled by default. pub fn case_insensitive( &mut self, yes: bool