motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit aaf5b34366138dff810565446e640cb4b8476a7f (tree)
parent 05000b1872bb49d3f03f3055581f22de0fc53e1b
Author: Tim Pope <code@tpope.net>
Date:   Mon,  9 May 2011 08:37:24 -0400

Fix garbling on :Gcommit when nothing is staged

Fixes #68.

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1621,7 +1621,7 @@ function! s:ReplaceCmd(cmd,...) abort endif endif set noautowrite - silent exe '!'.escape(prefix.a:cmd,'%#').' > '.tmp + call system(prefix.a:cmd.' > '.tmp) finally let &autowrite = aw if exists('old_index')