mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
@@ -287,7 +287,7 @@ endfunction
|
|||||||
" Returns a dict of current path to original path at the given base.
|
" Returns a dict of current path to original path at the given base.
|
||||||
function! s:obtain_file_renames(bufnr, base)
|
function! s:obtain_file_renames(bufnr, base)
|
||||||
let renames = {}
|
let renames = {}
|
||||||
let cmd = gitgutter#git().' diff -c "core.safecrlf=false" --diff-filter=R --name-status '.a:base
|
let cmd = gitgutter#git().' -c "core.safecrlf=false" diff --diff-filter=R --name-status '.a:base
|
||||||
let [out, error_code] = gitgutter#utility#system(gitgutter#utility#cd_cmd(a:bufnr, cmd))
|
let [out, error_code] = gitgutter#utility#system(gitgutter#utility#cd_cmd(a:bufnr, cmd))
|
||||||
if error_code
|
if error_code
|
||||||
" Assume the problem is the diff base.
|
" Assume the problem is the diff base.
|
||||||
|
|||||||
Reference in New Issue
Block a user