parent
81369ed540
commit
1a50b94066
|
@ -228,6 +228,9 @@ end
|
||||||
--- @return Gitsigns.Hunk.Hunk?
|
--- @return Gitsigns.Hunk.Hunk?
|
||||||
local function get_hunk(bufnr, range, greedy, staged)
|
local function get_hunk(bufnr, range, greedy, staged)
|
||||||
local bcache = cache[bufnr]
|
local bcache = cache[bufnr]
|
||||||
|
if not bcache then
|
||||||
|
return
|
||||||
|
end
|
||||||
local hunks = get_hunks(bufnr, bcache, greedy, staged)
|
local hunks = get_hunks(bufnr, bcache, greedy, staged)
|
||||||
|
|
||||||
if not range then
|
if not range then
|
||||||
|
|
Loading…
Reference in New Issue