Fix typo in s:repo_translate: s/,/./ (#791)
This commit is contained in:
parent
bdd216827a
commit
6460734b5e
@ -347,7 +347,7 @@ function! s:repo_translate(spec) dict abort
|
|||||||
elseif filereadable(refs.'remotes/'.a:spec)
|
elseif filereadable(refs.'remotes/'.a:spec)
|
||||||
return refs.'remotes/'.a:spec
|
return refs.'remotes/'.a:spec
|
||||||
elseif filereadable(refs.'remotes/'.a:spec.'/HEAD')
|
elseif filereadable(refs.'remotes/'.a:spec.'/HEAD')
|
||||||
return refs.'remotes/'.a:spec,'/HEAD'
|
return refs.'remotes/'.a:spec.'/HEAD'
|
||||||
else
|
else
|
||||||
try
|
try
|
||||||
let ref = self.rev_parse(matchstr(a:spec,'[^:]*'))
|
let ref = self.rev_parse(matchstr(a:spec,'[^:]*'))
|
||||||
|
Loading…
Reference in New Issue
Block a user