mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 04:34:39 +08:00
Fix error in :Gmove
This commit is contained in:
1 parent
56b8ad786b
commit
e3e31ce9d7
1 file changed
+1
-1
+1
-1
@@ -1080,7 +1080,7 @@ function! s:Move(force,destination)
|
||||
if s:buffer().commit() == ''
|
||||
return 'saveas! '.s:fnameescape(destination)
|
||||
else
|
||||
return 'file '.s:fnameescape(s:repo.translate(':0:'.destination)
|
||||
return 'file '.s:fnameescape(s:repo().translate(':0:'.destination)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user