Running over https://salsa.debian.org/rust-team/debcargo-conf/: ~~~~ $ cat .gitignore /build /src/*/* !/src/*/debian $ rg -q copyright $ rg -q copyright src No files were searched, which means ripgrep probably applied a filter you didn't expect. Try running again with --debug. 1 $ rg -q copyright src/* $ git grep -q copyright $ git grep -q copyright src $ git grep -q copyright src/* ~~~~