You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you clone a repo, Kart creates a directory for it. If the clone fails before any transfer starts, the empty repo directory is left behind. This can happen if the repo path/URL is wrong, or the user doesn't authenticate.
To Reproduce
$ kart clone me@github.com:wiz/fooCloning into '/Users/rcoup/code/kart-data/foo/.clone'...me@github.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.Error: Error calling git clone
$ ls -l foototal 0
$ # compare with git clone:
$ git clone me@github.com:wiz/fooCloning into 'foo'...me@github.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
$ ls -l fools: cannot access 'foo': No such file or directory
Expected behaviour
If Kart creates the directory, then it should delete it again if the clone never starts transferring.
**Version Info **
OS: macOS 14.3
Version: v0.15.0
The text was updated successfully, but these errors were encountered:
Describe the bug
If you clone a repo, Kart creates a directory for it. If the clone fails before any transfer starts, the empty repo directory is left behind. This can happen if the repo path/URL is wrong, or the user doesn't authenticate.
To Reproduce
Expected behaviour
If Kart creates the directory, then it should delete it again if the clone never starts transferring.
**Version Info **
The text was updated successfully, but these errors were encountered: