Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
counsel-git-log produces "error code 1" #652
Looking at the source, I think the problem is setting GIT_PAGER in-line with with the git log command, in
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.)