stacked-git / stgit

Stacked Git
https://stacked-git.github.io/
GNU General Public License v2.0
521 stars 60 forks source link

error: running editor: vi: The system cannot find the file specified. (os error 2) #442

Open kqr opened 5 months ago

kqr commented 5 months ago

When I run stg new <name> on a fresh install in Windows I get the error

error: running editor: vi: The system cannot find the file specified. (os error 2)

This is despite the fact that I can run

sh vi

manually. I'm not sure which file it is having trouble finding, though, so I can't do much to help it.

(In contrast to the previous error, I don't have a good workaround for this one. I can supply the message directly with the -m flag, but that makes it difficult to write a longer description. The best I can do there is adjust the commit manually with git later.)