-
-
Notifications
You must be signed in to change notification settings - Fork 339
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-log produces "error code 1" #652
Comments
In the
Looking at the source, I think the problem is setting GIT_PAGER in-line with with the git log command, in |
Just try running the same command in the shell. This is what
|
Thanks for the quick reply. I updated my comment above: my shell isn't bash so setting the variable this way doesn't work. Not sure the best way to do this without depending on the Unix-style variable. This works with something like
to run the command in a separate shell. Otherwise something like setting and then reverting the variable would be necessary. Maybe just requiring a bash-style shell is sufficient here. (Note however that counsel-git-grep etc work fine for me -- this is the first case I've hit where the shell is an issue.) |
Customize |
Yes, I'm on Windows. Thanks, this works for me:
This also works:
|
Trying out
counsel-git-log
for the first time and I always get an error code. I'm running on Windows so my guess is some issue with my environment, but figured it is worth reporting.The text was updated successfully, but these errors were encountered: