git giving error about vim running in cmd
This error message can be seen in CMD wrapper like cmder.
It was recently fixed in Git for Windows 356 and PR 29.
It will be in Git 2.19 (for Windows) around Sept. 9th.
As the OP guradio comments:
Just used VScode and now I can update Git.
I got cmalloc would have returned NULL
when trying to launch vim from a command line in git bash through ConsoleZ. According to https://cygwin.com/ml/cygwin/2014-07/msg00185.html, this can happen if you set your console/terminal buffer too large. I had mine set at 5000 lines. Reducing it to 2000 resolved my issue. Hope this helps someone!
I got the same error while i was using a normal command prompt on windows. I switched to git bash and it worked like a charm!