Hi,

first I want to thank you all for magit. It makes working with git in emacs so 
much
easier.

I encountered a strange problem wit magit on Win7 recently. When trying to 
commit in magit I get the following error message:

  replace-regexp-in-string: Wrong type argument: stringp, ("--")

This does not happen on my Linux machine. Both have same emacs and magit 
versions.

A little (well it took a while) debugging showed the problem. On Win7 I use 
cygwin, so `magit-process-quote-curly-braces' is set to 't'. When a commit is 
performed `magit-process-quote-arguments' is called with `("commit" ("--"))'. 
Thats why

(mapcar (apply-partially 'replace-regexp-in-string
                                 "{\\([0-9]+\\)}" "\\\\{\\1\\\\}")
                args)

inside `magit-process-quote-arguments' throws the above error.

My lisp knowledge is not deep enough to find out how to fix this, but I am sure 
someone here knows how to prepare a fix.

For now I set `magit-process-quote-curly-braces' to nil. With the culprit that 
I 
can't stash with magit on Win7.

Thank you for looking into this.

Bis neulich ...
  Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to