You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is that I use my home directory as a git repo to manage my dotfiles, so there is a ~/.gitignore that ignores everything except some files. The problem is fd won't work by default at this situation. Although there is a --no-ignore-vcs, but I still want .gitignore to be respected when I am in a project directory.
Ripgrep has a flag --no-ignore-parent that can ignore .gitignore in parent directory, which works well enough. A even better solution could introduce a new flag to exclude certain .gitignore only, such as fd --no-ignore-file ~/.gitignore.
My problem is that I use my home directory as a git repo to manage my dotfiles, so there is a
~/.gitignore
that ignores everything except some files. The problem isfd
won't work by default at this situation. Although there is a--no-ignore-vcs
, but I still want.gitignore
to be respected when I am in a project directory.Ripgrep has a flag
--no-ignore-parent
that can ignore.gitignore
in parent directory, which works well enough. A even better solution could introduce a new flag to exclude certain.gitignore
only, such asfd --no-ignore-file ~/.gitignore
.Similar ripgrep issue: BurntSushi/ripgrep#372
The text was updated successfully, but these errors were encountered: