feat: don't search in sapling source control directories
This file should be treated as the .git dir and not show up in the candidates list for files.
This commit is contained in:
parent
7ecc6f1226
commit
fc58dd31d8
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ pub fn find_files(options: Options) -> Vec<String> {
|
|||
// is no way to handel errors in the rust library
|
||||
let mut override_builder = OverrideBuilder::new("");
|
||||
override_builder.add("!.git").unwrap();
|
||||
override_builder.add("!.sl").unwrap();
|
||||
|
||||
let overrides = override_builder.build().unwrap();
|
||||
builder.overrides(overrides);
|
||||
|
|
|
|||
Loading…
Reference in a new issue