From 0cc3beeae9b46c947b663779f8fa2eb2de23a7c0 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 6 Aug 2019 14:28:48 -0400 Subject: [PATCH] Tweak commit for u rebase map --- autoload/fugitive.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 5b22507..d0696c7 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3082,7 +3082,7 @@ function! s:DoToggleUnpulledHeading(heading) abort endfunction function! s:DoUnstageUnpulled(record) abort - call feedkeys(':Grebase ' . a:record.commit . '^') + call feedkeys(':Grebase ' . a:record.commit) endfunction function! s:DoToggleUnpulled(record) abort @@ -3090,7 +3090,7 @@ function! s:DoToggleUnpulled(record) abort endfunction function! s:DoUnstageUnpushed(record) abort - call s:DoUnstageUnpulled(a:record) + call feedkeys(':Grebase --autosquash ' . a:record.commit . '^') endfunction function! s:DoToggleStagedHeading(...) abort