mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 22:03:51 -05:00
Fix error in :Gmove
This commit is contained in:
@@ -1080,7 +1080,7 @@ function! s:Move(force,destination)
|
|||||||
if s:buffer().commit() == ''
|
if s:buffer().commit() == ''
|
||||||
return 'saveas! '.s:fnameescape(destination)
|
return 'saveas! '.s:fnameescape(destination)
|
||||||
else
|
else
|
||||||
return 'file '.s:fnameescape(s:repo.translate(':0:'.destination)
|
return 'file '.s:fnameescape(s:repo().translate(':0:'.destination)
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user