Skip to content

got update without existing repo fails with "fatal: destination path '.' already exists and is not an empty directory." #75

Open
@perigrin

Description

@perigrin

I've been using App::GitGot to manage my development directory across machines and moving to a new(ish) box I ran "got update" to pull down all the repos and got the above error.

I fixed it by changing _get_clone_or_callback in App::GitGot::Commands to not create the directory before trying to clone and passing $entry->path as the second parameter to $entry->clone() … but I'm not sure that's the best solution overall.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions