mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-08 05:04:51 +08:00
Fix typo in s:repo_translate: s/,/./ (#791)
This commit is contained in:
1 parent
bdd216827a
commit
6460734b5e
1 file changed
+1
-1
+1
-1
@@ -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,'[^:]*'))
|
||||
|
||||
Reference in new issue
Block a user