From dab66500bb73f576111764937280c7fa9781a4f5 Mon Sep 17 00:00:00 2001 From: Bob Hiestand Date: Thu, 28 Jan 2010 14:28:32 -0600 Subject: [PATCH] vcsgit: Remove redundant positioning command in annotate. --- plugin/vcsgit.vim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugin/vcsgit.vim b/plugin/vcsgit.vim index 728c94f..8ecbcf2 100644 --- a/plugin/vcsgit.vim +++ b/plugin/vcsgit.vim @@ -123,11 +123,7 @@ function! s:gitFunctions.Annotate(argList) let options = join(a:argList, ' ') endif - let resultBuffer = s:DoCommand('blame ' . options, 'annotate', options, {}) - if resultBuffer > 0 - normal 1G - endif - return resultBuffer + return s:DoCommand('blame ' . options, 'annotate', options, {}) endfunction " Function: s:gitFunctions.Commit(argList) {{{2 -- 2.11.4.GIT