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

This commit is contained in:
Daniel Hahler 2016-05-11 23:37:45 +02:00 committed by Tim Pope
parent bdd216827a
commit 6460734b5e

View File

@ -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,'[^:]*'))