mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-10 20:43:46 -05:00
Fix remaining :Gremove and :Gmove references
This commit is contained in:
@@ -3634,7 +3634,7 @@ function! s:StageDelete(lnum1, lnum2, count) abort
|
|||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
if info.status ==# 'D'
|
if info.status ==# 'D'
|
||||||
let undo = 'Gremove'
|
let undo = 'GRemove'
|
||||||
elseif info.paths[0] =~# '/$'
|
elseif info.paths[0] =~# '/$'
|
||||||
let err .= '|echoerr ' . string('fugitive: will not delete directory ' . string(info.relative[0]))
|
let err .= '|echoerr ' . string('fugitive: will not delete directory ' . string(info.relative[0]))
|
||||||
break
|
break
|
||||||
@@ -5087,7 +5087,7 @@ function! fugitive#Diffsplit(autodir, keepfocus, mods, arg, args) abort
|
|||||||
endtry
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Section: :Gmove, :Gremove
|
" Section: :GMove, :GRemove
|
||||||
|
|
||||||
function! s:Move(force, rename, destination) abort
|
function! s:Move(force, rename, destination) abort
|
||||||
let dir = s:Dir()
|
let dir = s:Dir()
|
||||||
|
|||||||
Reference in New Issue
Block a user