New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
counsel-git-grep does not accept spaces in search string #1176
Comments
Are you using custom In your input, the trailing space doesn't matter, the final regex given to the shell should be the same as for input |
I had a custom setting. I removed it and it works now, but it does not give the desired output. When I use the following git --no-pager grep --full-name -n --no-color -i -e 'def test_' It gives me only the ones start with "def test_" but counsel returns more like the ones with def generate_test_data() too. I am not sure why counsel is not passing the string as it is to git-grep |
I seem to have a related problem. I'm on Windows, with Setting |
@noorul This is expected and is a feature:
@dgchurchill Try to customize |
Thanks @abo-abo. Setting |
@abo-abo |
The following command works in command line
git --no-pager grep --full-name -n --no-color -i -e 'def test_'
But when I try to search 'def test' using counsel-git-grep, it returns nothing.
The text was updated successfully, but these errors were encountered: