From 82580253e83e23d20e00e5bcc15bf5da16757b46 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 22 Jun 2014 08:31:12 -0400 Subject: [PATCH] Typo References #97. --- plugin/fugitive.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 808bb91..7979a50 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -792,9 +792,9 @@ function! s:StageUndo() abort if section ==# 'untracked' call delete(s:repo().tree(filename)) elseif section ==# 'unstaged' - call repo.get_chomp('checkout', '--', filename) + call repo.git_chomp('checkout', '--', filename) else - call repo.get_chomp('checkout', 'HEAD', '--', filename) + call repo.git_chomp('checkout', 'HEAD', '--', filename) endif call s:StageReloadSeek(filename, line('.'), line('.')) let @" = hash