mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 02:30:03 +08:00
Add supporting of rev option
This commit is contained in:
parent
dde53099a0
commit
6e6a34ef20
@ -247,7 +247,8 @@ endfunction
|
||||
" @vimlint(EVL103, 0, a:event)
|
||||
|
||||
function! s:lock_revision(repo) abort
|
||||
let cmd = ['git', 'checkout', '-C', a:repo.path, 'a:repo.rev']
|
||||
let cmd = ['git', '-C', a:repo.path, 'checkout', a:repo.rev]
|
||||
let g:wsd = cmd
|
||||
call s:VIM_CO.system(cmd)
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user