gitim icon indicating copy to clipboard operation
gitim copied to clipboard

Behaviour inconsistent of path where other users repo is stored

Open ferdymercury opened this issue 4 years ago • 0 comments

When cloning a repo from another user where you are a collaborator, there seems to be an inconsistent behaviour, probably depending on what CLI arguments you give (-u, -d, -o).

Sometimes it is cloned to directory/anotheruser/repo/ but other times to: directory/repo/

Also, sometimes I get this error message where I can not update the other person's repo any more:

Cloning "anotheruser/repo"
fatal: destination path 'directory/anotheruser/repo' already exists and is not an empty directory.

I have made a PR to solve this: https://github.com/muhasturk/gitim/pull/14

Thanks for this nice tool!

ferdymercury avatar Nov 24 '19 14:11 ferdymercury