Skip to content

Commit

Permalink
fix: remove bad assert
Browse files Browse the repository at this point in the history
Fixes #814
  • Loading branch information
lewis6991 committed Jun 14, 2023
1 parent 30446e3 commit 6680427
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/gitsigns/hunks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ function M.compare_heads(a, b)
elseif a and #a ~= #b then
return true
end
assert(b)
for i, ah in ipairs(a or {}) do
if b[i].head ~= ah.head then
return true
Expand Down

0 comments on commit 6680427

Please sign in to comment.