From 5d32f7528988644c3b4a9491a9a4b37ccbd1aa62 Mon Sep 17 00:00:00 2001 From: Maksim Odnoletkov Date: Thu, 28 May 2020 21:46:22 +0100 Subject: [PATCH] Fix stash map `czz` used to act without confirmation before. But 6b40e510080e25f9141170f629f5a3576d57e042 changed it to require ``. Given that `czw` keeps working without confirmation and that there is a separate `cz` map - seems like the change was not intended? --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 78a572c..f7f2fc1 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -6026,7 +6026,7 @@ function! fugitive#MapJumps(...) abort call s:Map('n', 'czP', ':Git stash pop --quiet stash@{=v:count}') call s:Map('n', 'czv', ':exe "Gedit" fugitive#RevParse("stash@{" . v:count . "}")', '') call s:Map('n', 'czw', ':Git stash --keep-index=v:count > 1 ? " --all" : v:count ? " --include-untracked" : ""') - call s:Map('n', 'czz', ':Git stash =v:count > 1 ? " --all" : v:count ? " --include-untracked" : ""') + call s:Map('n', 'czz', ':Git stash =v:count > 1 ? " --all" : v:count ? " --include-untracked" : ""') call s:Map('n', 'cz?', ':help fugitive_cz', '') call s:Map('n', 'co', ':Git checkout')