Fix checking out files in subdirectories
This commit is contained in:
parent
f86a4aeb9b
commit
9aed3c09c9
1 changed files with 2 additions and 1 deletions
3
vimrc
3
vimrc
|
@ -390,9 +390,10 @@ function! s:file_at_revision(rev)
|
|||
let l:fname = b:git_original_file
|
||||
let l:ftail = fnamemodify(b:git_original_file, ":t")
|
||||
else
|
||||
let l:fname = expand("%:t")
|
||||
let l:fname = expand("%")
|
||||
let l:ftail = expand("%:t")
|
||||
end
|
||||
let l:fname = substitute(l:fname, "\\\\", "/", "g")
|
||||
let l:ftype = &filetype
|
||||
|
||||
ene!
|
||||
|
|
Loading…
Reference in a new issue