Skip to content
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 line 42: Permission denied #2

Open
DArcMattr opened this issue Sep 8, 2014 · 0 comments
Open

Error on line 42: Permission denied #2

DArcMattr opened this issue Sep 8, 2014 · 0 comments

Comments

@DArcMattr
Copy link

When I try to git commit a file, using this script as git's editor, I get the following:

$ git commit README.md
/home/darc/contrib/giteditor/giteditor.sh: 42: /home/darc/contrib/giteditor/giteditor.sh: : Permission denied

Then vim loads up with the expected git message, and no diffs.

I'm beginning to think that this is an error stemming from my configuration, and an addition to the documentation could be all that's needed to get the script working for me.

In my testing around trying to get this error to work, it looks like the problem is around the diffall alias. I had been using the script at https://github.com/thenigan/git-diffall for my diffall alias.

What .gitconfig setup is needed to get this to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant