-
Notifications
You must be signed in to change notification settings - Fork 72
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
Error on trying to use git shortlog summary #118
Comments
I cannot reproduce this. Are you using the latest version? In my vimcat line 80 is a blank line. If you are using the latest version, are you willing to do some debugging? First I need your system specs, what is the OS, version and shell you are on. |
I think I see the problem, your shell must be a variant of ash and it does not have the same array support as bash and ksh likes. I'll try to fix this. |
Ok, first off, I don't see this problem on my home computer where I'm running Ubuntu 14.04. I only saw it on my work computer where I have Ubuntu 12.04.
I'm not sure actually. I have definitely not updated since the day I cloned vimpager, so it could very well be an older version.
Great if you have a handle on this; but I'll be more than happy to do some debugging if needed. But that's possible only on weekdays though. |
Somehow vimcat runs under dash for someone, and this breaks because of the array syntax for $@ . Remove the array syntax for $@ because it is completely unnecessary and $@ behaves like an array in all bourne shells as it is. Also do a couple of other minor cleanups, and rebuild vimpager.
Instead of exiting with an error if a better shell is not found, set _MY_SHELL to $SHELL or /bin/sh and continue. This should usually work since we removed the array syntax.
Try updating your clone, the issue should be fixed. |
Yup. Update + another |
I get the following error when trying to do
git shortlog --summary --numbered
on any of my repos:The problem is when using the
--summary
argument (without that argument, things work as expected).As a workaround, I'm using
PAGER=/usr/bin/less git shortlog --summary --numbered
The text was updated successfully, but these errors were encountered: