refactor(git): generalize buf_set_lines wrapper
This commit is contained in:
+1
-1
@@ -199,7 +199,7 @@ local function populate(buf, r, rev, state, rev_sha)
|
||||
end
|
||||
end
|
||||
|
||||
util.replace_buf_lines(buf, util.split_lines(stdout))
|
||||
util.buf_set_lines(buf, 0, -1, false, util.split_lines(stdout))
|
||||
state.sha = rev_sha
|
||||
return true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user