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