diff --git a/lua/gitsigns/git.lua b/lua/gitsigns/git.lua index ace308b8..fc8ee3c9 100644 --- a/lua/gitsigns/git.lua +++ b/lua/gitsigns/git.lua @@ -638,7 +638,7 @@ function Obj:run_blame(lines, lnum, ignore_whitespace) -- The output given by "git blame" that attributes a line to contents -- taken from the file specified by the "--contents" option shows it -- differently from a line attributed to the working tree file. - if ret.author_mail == '' then + if ret.author_mail == '' or ret.author_mail == 'External file (--contents)' then ret = vim.tbl_extend('force', ret, not_committed) end