aboutsummaryrefslogtreecommitdiffstats
path: root/cache/multi_repo_cache.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-06-23 21:28:01 +0200
committerMichael Muré <batolettre@gmail.com>2019-06-23 21:28:01 +0200
commit9f4da4ce4fbbf23798b80289af170c9c42ac73eb (patch)
tree6cf71b3c05b0cd2e4d93111cfa45c9c08762d1f0 /cache/multi_repo_cache.go
parentbc03a89aa76cad37daf8cd4efdea463a9569c519 (diff)
downloadgit-bug-9f4da4ce4fbbf23798b80289af170c9c42ac73eb.tar.gz
cache: consistently use "ref" to fetch a repository
Diffstat (limited to 'cache/multi_repo_cache.go')
-rw-r--r--cache/multi_repo_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/multi_repo_cache.go b/cache/multi_repo_cache.go
index fa5a2041..a55bbcce 100644
--- a/cache/multi_repo_cache.go
+++ b/cache/multi_repo_cache.go
@@ -54,7 +54,7 @@ func (c *MultiRepoCache) DefaultRepo() (*RepoCache, error) {
panic("unreachable")
}
-// ResolveRepo retrieve a repository by name
+// ResolveRepo retrieve a repository with a reference
func (c *MultiRepoCache) ResolveRepo(ref string) (*RepoCache, error) {
r, ok := c.repos[ref]
if !ok {