X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/4fd89b808cabc8afb0d75b9700be1da96989c4b7..a411ac34c5895e8ea4ddeed6b72f4787886a1ab0:/src/file_finder.rs 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() {