From e3e31ce9d7679933699e95a7d8bf948b0d2d762f Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 19 Mar 2010 21:06:08 -0400 Subject: [PATCH] Fix error in :Gmove --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 9341483..75b4ae2 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -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