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