aboutsummaryrefslogtreecommitdiff
path: root/src/file_finder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_finder.rs')
-rw-r--r--src/file_finder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_finder.rs b/src/file_finder.rs
index 105a999..bcd368d 100644
--- a/src/file_finder.rs
+++ b/src/file_finder.rs
@@ -13,7 +13,7 @@ fn find_files_recursively(root_path: &PathBuf, directory_path: &PathBuf) -> Vec<
for entry in entries {
let path = entry.unwrap().path();
let relative_path = path.strip_prefix(&root_path).unwrap();
- if relative_path.starts_with(".git") {
+ if relative_path.starts_with(".git") || relative_path.starts_with(".gitignore") {
continue;
}
if path.is_dir() {