Skip to content

Different behavior with and without config file? #2339

Answered by BurntSushi
ntersol-tom asked this question in Q&A
Discussion options

You must be logged in to vote

It's because your config file and your shell command are not equivalent. The config file is just a file. But your command is executed in the context of the shell that understands quoting and all sorts of things. So in your config file, you shouldn't be using quotes. Just --glob=!.git will do. Or equivalently:

--glob
!git

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ntersol-tom
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants