From f8913cda12c5f49c11c89e460f2ec5e7e2b741ce Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 31 May 2018 20:32:52 -0400 Subject: [PATCH] Fix :Gcommit invocation of :Gstatus Closes https://github.com/tpope/vim-fugitive/issues/1034 --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 766b695..ac54dde 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1207,7 +1207,7 @@ function! s:Commit(mods, args, ...) abort setlocal bufhidden=wipe filetype=gitcommit return '1' elseif error ==# '!' - return s:Status() + return 'Gstatus' else call s:throw(empty(error)?join(errors, ' '):error) endif