Fix typo in s:repo_translate: s/,/./ (#791)

This commit is contained in:
Daniel Hahler authored and Tim Pope committed 2016-05-11 17:37:45 -04:00
1 parent bdd216827a
commit 6460734b5e
1 file changed
+1 -1
+1 -1
View File
@@ -347,7 +347,7 @@ function! s:repo_translate(spec) dict abort
elseif filereadable(refs.'remotes/'.a:spec)
return refs.'remotes/'.a:spec
elseif filereadable(refs.'remotes/'.a:spec.'/HEAD')
return refs.'remotes/'.a:spec,'/HEAD'
return refs.'remotes/'.a:spec.'/HEAD'
else
try
let ref = self.rev_parse(matchstr(a:spec,'[^:]*'))