spr icon indicating copy to clipboard operation
spr copied to clipboard

Fails on windows under cygwin when determining git's root directory

Open anenviousguest opened this issue 9 months ago • 0 comments

On windows, when run in Cygwin environment, it fails like below:

git spr

git error: 
chdir /cygdrive/c/dev/sourceCode/temp-playground/spr: The system cannot find the path specified.

Process finished with the exit code 2

Apparently, git rev-parse ... command returns cygwin-based path because it uses Cygwin version of git. It would be optimal if the tool could take that into account.

anenviousguest avatar May 21 '24 13:05 anenviousguest