Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lua/vgit/git/GitBlame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ function GitBlame:constructor(info)
}

for i = 2, #info do
local blame_info = utils.str.split(info[i], ' ')
blame[blame_info[1]] = blame_info[2]
local field, value = info[i]:match("^(%S+)%s+(.+)")
if field ~= nil then
blame[field] = value
end
end

local committed = true
Expand Down