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
Cannot commit with new commit workflow: wrong-type-argument stringp, nil #772
Comments
Let me guess you are on OS X? Any ways just pushed a quick fix. |
But then you might run into #770. |
Thanks for the quick fix! Not sure if there's more to be done, but if not, feel free to close. |
Still doesn't work for me on Windows 8. (At least, not with the most current MELPA build. I'll confirm that it doesn't work early tomorrow/in a few hours.) I narrowed the issue down a bit:
Executing this inside my
Hopefully that deluge of information will help figure out what's going on here. |
The melpa build probably just hasn't happened yet. There is just one |
Still getting an error on stage->commit:
but perhaps this is now a different issue? |
Yes that's a different issue (windows particularities vs. osx particularities) but we might as well discuss it here.
This could either mean that magit failed to detect that it needs to start the server or that the server file is created in an unexpected location. Could you please start Emacs as usual (not -Q) and try to connect from a terminal using Then manually start the server with |
Nope, the error does not persist (at least on my work computer). I will double-check that I'm doing anything 'fancy' on my desktop at home; I didn't know by the way, the new commit buffer looks really nice 😃 |
What is Please check whether #797 fixes this. |
As for trying out #797 --- should I pull f6b2aa9 or 09bbd97? The most recent MELPA build (after restarting emacs entirely) gives me an error upon
with the following trace:
|
Also see nex3/magithub#12 regarding |
Closing because the initial OS X issue is fixed, the middle Windows issue is fixed, and the last issue does not belong here. I should have insisted on separately reported issues. :-/ The code where the first two issues surfaced has been removed. On OS X I am sure the initial cause has also been fixed. On Windows I don't know that the initial cause was, but I suspect it was the same. If you still have this problem please open a new issue. |
Agreed. I'll try a clean install and open a new issue if it persists. |
Turns out that
in |
That's very useful information but could you please open a new issue. |
For the record, I had this error as well, but not for the same reason: it was caused by the emacs-diff-hl package that I use. It has a magit hook that misbehaved before this commit: dgutov/diff-hl@f8ce39d#diff-7f5249a920cb714b91e751d32b9dc9ef (available as of version 1.8.5). |
Hi there,
I've just upgraded magit and am running into an error when trying to commit: wrong-type-argument stringp, nil. Everything was previously working with the old-style commit workflow (
c
immediately dropping you into a log buffer, etc). I've confirmed that committing also fails in a brand-new git repo, but I'm not sure where to go from here.The exact operations that lead to the error:
M-x magit-status
s
to stage a filec
to begin commitc
to commit without any options -- this causes the errorBacktrace:
The text was updated successfully, but these errors were encountered: