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
ghq list is slow when a root directory contains directories which are not managed by any VCS.
It seems that ghq list walks directory until it find a VCS configuration like .git directory.
It would be helpful if ghq could give some kind of warning when it hits directories which are not managed by VCSs.
Versions
ghq -v
ghq version 1.2.1 (rev:dd139fb)
The text was updated successfully, but these errors were encountered:
When the list of repositories in my ghq source directory got large, it
was getting extremely slow when performing a clone[^1][^2].
It turns out that I have a lot of directories that are not managed by
git especially within my work folder. I was able to figure this out
after moving out the _work_ directory outside the `~/Sources` dir.
I found https://github.com/siketyan/ghr and it seems to be fast because
it doesn't check `.git` folders (which I'm fine with)
Refs:
[^1]: x-motemen/ghq#323
[^2]: x-motemen/ghq#379
ghq list
is slow when a root directory contains directories which are not managed by any VCS.It seems that
ghq list
walks directory until it find a VCS configuration like.git
directory.It would be helpful if ghq could give some kind of warning when it hits directories which are not managed by VCSs.
Versions
The text was updated successfully, but these errors were encountered: