Open phobo3s opened 1 week ago
We discussed in the channel briefly and IMHO it would be fine to just continue if git is not present. The way it's used in cabal init
is not crucial, after all, just a convenience, so probably not even a warning is needed.
I assume git is used to get the default user name and email. If git is not present then we could just suggest no default, but do not crash.
i am on windows and i have git installed systemwide. tried to run cabal. i downloaded ghcup and starting to use cabal but there was an error when i try to use cabal init.
MSYS2 has no git installed but my system has git so when i try to "cabal init" it gives git error. I am not a professional so...
this workaround has worked by the way:![image](https://github.com/haskell/cabal/assets/47847184/4bfffe11-38f6-4ba3-927a-81442c23bb3e)
thank you jasagredo