Fix bug in vim git script in file_at_revision function
This commit is contained in:
parent
d44f3431a7
commit
509ea4128b
1 changed files with 1 additions and 1 deletions
2
git.vim
2
git.vim
|
@ -126,7 +126,7 @@ function! s:file_at_revision(rev)
|
|||
ene!
|
||||
set modifiable
|
||||
silent exec "file ".l:ftail."@".a:rev
|
||||
exec "r!git show ".a:rev.":".l:fname
|
||||
exec "r!git show ".a:rev.":".system("git ls-files --full-name ".l:fname)
|
||||
1,1del
|
||||
setl nomodifiable
|
||||
setl buftype=nofile
|
||||
|
|
Loading…
Reference in a new issue