Open atacratic opened 4 years ago
Hi @atacratic, I agree that that message is bad. However, IMO it should work just fine with .git at the end. Anything that you can pass to command-line git
should work, as that's all ucm is doing (up to the Unison path part of the url).
Suppose my .unisonConfig has a mistake in the remote URL, for example it includes the
.git
on the end that GitHub gives you when you copy the HTTPS URL to clone.Then push/pull fails with a hard-to-understand error message, and ucm terminates.
It would be good to get some extra validation of the URL at load time, given this will be a common error. (Or maybe just cope with the
.git
suffix.)