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
Darwin Niuniobook 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
Describe your question, feature request, or bug.
Ripgrep looks for definition of global gitignore in $HOME/.gitconfig file only, while Git (at least in version 2.18.0) supports only "standard" $XDG_CONFIG_DIR/git/config location.
If this is a bug, what are the steps to reproduce the behavior?
Have anything set in Git file pointed by core.excludesfile and move your .gitconfig to ~/.config/git/config. Now RipGrep will search in files it should ignore.
What version of ripgrep are you using?
How did you install ripgrep?
BurntSushi's Brew repository
What operating system are you using ripgrep on?
Describe your question, feature request, or bug.
Ripgrep looks for definition of global
gitignore
in$HOME/.gitconfig
file only, while Git (at least in version 2.18.0) supports only "standard"$XDG_CONFIG_DIR/git/config
location.If this is a bug, what are the steps to reproduce the behavior?
Have anything set in Git file pointed by
core.excludesfile
and move your.gitconfig
to~/.config/git/config
. Now RipGrep will search in files it should ignore.If this is a bug, what is the actual behavior?
Expected:
Got:
See that in second version
/Users/hauleth/Workspace/hauleth/dotfiles/git/ignore
isn't mentioned even once.If this is a bug, what is the expected behavior?
Should fallback to
${XDG_CONFIG_DIR:-$HOME/.config}/git/config
if lookup forcore.excludefile
in$HOME/.gitconfig
failed.The text was updated successfully, but these errors were encountered: