Magit is unable to commit anything is giving the following message
1 c:/cygwin64/bin/git.exe … commit -- Waiting for Emacs...
ERROR: Wrong type argument: arrayp, nilerror: There was a problem with the editor '"c:/Program Files (x86)/Emacs/emacs-24.5/bin/emacsclient.exe"'. Please supply the message using either -m or -F option.
How do I pass the -m and -F option?
platform - Windows 8 Emacs - 24.5.1 installed magit from package manager.
I wanted to use cygwin with emacs, having set that, cygwin didnt see the windows git properly - hence I installed git for cygwin. Probably that's causing some issue? In my exec-path I have the path of cygwin-git. I am new to magit so help would be appriciated and also let me know if I can provide with more information.
EDIT : Both the git installation work properly - I tried some test commit from and cygwin and cmdprompt and I am able to commit normally.