Skip to content

Commit 814f102

Browse files
authored
fix!(git_status): keep picker open if pwd is clean (nvim-telescope#3415)
Prevents picker from flickering open and closed.
1 parent 5899106 commit 814f102

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/telescope/builtin/__git.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,8 @@ git.status = function(opts)
407407
if count == 0 and prompt == "" then
408408
utils.notify("builtin.git_status", {
409409
msg = "No changes found",
410-
level = "ERROR",
410+
level = "INFO",
411411
})
412-
actions.close(self.prompt_bufnr)
413412
end
414413
end,
415414
},

0 commit comments

Comments
 (0)