From 994d781f90d3959193a7501b9facef3758007dda Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 19 May 2018 15:41:12 -0400 Subject: [PATCH] Add deprecation warning for :Gstatus cA --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 334812d..0dd0df8 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -2637,7 +2637,7 @@ function! s:BufReadIndex() abort nnoremap a :let b:fugitive_display_format += 1exe BufReadIndex() nnoremap i :let b:fugitive_display_format -= 1exe BufReadIndex() nnoremap C :Gcommit:echohl WarningMsgecho ':Gstatus C is deprecated in favor of cc'echohl NONE - nnoremap cA :Gcommit --amend --reuse-message=HEAD + nnoremap cA :Gcommit --amend --reuse-message=HEAD:echohl WarningMsgecho ':Gstatus cA is deprecated in favor of ce' nnoremap ca :Gcommit --amend nnoremap cc :Gcommit nnoremap ce :Gcommit --amend --no-edit