mirror of
https://github.com/x-motemen/ghq.git
synced 2026-09-10 07:26:27 -04:00
adjustment
This commit is contained in:
parent
de99291140
commit
427feec147
|
|
@ -84,10 +84,7 @@ func (g *getter) getRemoteRepository(remote RemoteRepository) error {
|
|||
return err
|
||||
}
|
||||
}
|
||||
l := detectLocalRepoRoot(
|
||||
remoteURL.Path,
|
||||
repoURL.Path)
|
||||
if l != "" {
|
||||
if l := detectLocalRepoRoot(remoteURL.Path, repoURL.Path); l != "" {
|
||||
localRepoRoot = filepath.Join(local.RootPath, remoteURL.Hostname(), l)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue