integrated-application-development / integrated-application-development/pasfmt

Respect `.gitignore` when enumerating files

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
105
Forks
20
PR merge metrics
No merged PRs in 30d

Description

It would be nice if `.gitignore` files were respected when enumerating files.

The [`ignore`](https://crates.io/crates/ignore) crate is almost a drop-in replacement for the [`walkdir`](https://crates.io/crates/walkdir) crate that we currently use, but it can respect `.gitignore` (among other ignore strategies).

A bonus would be if we could ignore git submodules automatically. This is currently unsupported by the `ignore` crate. See https://github.com/BurntSushi/ripgrep/pull/2751.

Another bonus would be if the config file could contain extra patterns to ignore.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.