smashwilson / merge-conflicts

Resolve git merge conflicts in Atom
https://atom.io/packages/merge-conflicts
MIT License
432 stars 42 forks source link

Git cannot be found in any of the default locations #180

Open adam-knights opened 8 years ago

adam-knights commented 8 years ago

Windows 7, Atom 1.0.11, merge-conflicts 1.3.5.

When I attempt to run merge-conflicts I get

git can't be found in any of the default locations!

I checked my PATH variable and git is there C:\Program Files\Git\cmd, in the command line git works.

More than happy to provide further info if required, and maybe even debug myself, in the meantime I'd love help getting this working via a workaround. Sadly my atom has issues showing settings in the GUI due to bugs in atom when behind a corporate firewall/proxy, so if you could point me somewhere to add the setting for git manually that would be great.

adam-knights commented 8 years ago

Running atom as an administrator makes this issue go away, not sure whether this is expected, or should it be ok without running as administrator?

smashwilson commented 8 years ago

You can manually configure a path to your git executable in the settings for the package if it's not in any of the places we're looking at right now.

That does seem like a reasonable path to add to the search paths, though.