FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.45k stars 640 forks source link

Error while running git (version 1.7) on windows #155

Closed wclr closed 11 years ago

wclr commented 11 years ago

I understand that it is the problem of node but it causes git (and ungit) to fail.

If run git --version from command line (windows 7 x64 )I got: git version 1.7.11.msysgit.1

If I try to run it from node (as ungit does):

require('child_process').exec('git --version',function(err, stdout, stderr){console.log(err, stdout, stderr)})

stdout contains git version 1.7.11.msysgit.1 but err is not null but: [Error: Command failed: ] killed: false, code: 1, signal: null }

Didn't you met such behaviour and what is the way to workaround/fix it?

FredrikNoren commented 11 years ago

Ah interesting. No I've only used 1.8.3 for this, but I just added a comment in #146 that I'll see if I can get it to work in 1.7 when I get some time over. In the meantime I'll add the required git version to the readme.

wclr commented 11 years ago

Yes, I installed 1.8.3 it works now, thanks.

FredrikNoren commented 11 years ago

Ok I'll close this for now, might try to do something to support 1.7 in the future if there's interest in it.