Skip to content

ghq get is slow when directory already exists #379

@davinkevin

Description

@davinkevin

Hello 👋

First, thank you for your tool, which is really good and I use it a lot… maybe too much considering this issue 😅.

Sometimes, when I want to jump into a directory, I use ghq get -l <repo_url> and it's very slow (~7 seconds). See hyperfine results:

image

I also include ghq in scripts when I have to automate tasks… and it's slow (+2sec), especially when the repository is already here. See results just for a get on an already existing repository:

image

Is there something misconfigured on my setup or it's expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions