feat(picker): also ignore dot bare git files (#2058)

## Description

If you clone with --bare then you have a `.bare` and not a `.git`
directory.
This commit is contained in:
Andreas Schneider 2025-10-19 10:35:11 +02:00 committed by GitHub
parent 29682a0a72
commit 4bb0dae95d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,8 @@ local function get_cmd(opts, filter)
"--max-columns=500",
"--max-columns-preview",
"-g",
"!.git",
"--glob=!.bare",
"--glob=!.git",
}
args = vim.deepcopy(args)