From 2cc558693ab6154c5c14b53d66ba4c1d9cacbffc Mon Sep 17 00:00:00 2001 From: amtoine Date: Wed, 25 Oct 2023 17:24:13 +0200 Subject: [PATCH] use `glob --exclude` instead of `glob --not` --- nu-git-manager/fs/store.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nu-git-manager/fs/store.nu b/nu-git-manager/fs/store.nu index 4446edc1..972310ca 100644 --- a/nu-git-manager/fs/store.nu +++ b/nu-git-manager/fs/store.nu @@ -36,7 +36,7 @@ export def list-repos-in-store []: nothing -> list { # first and then perform the globbing # related to https://github.com/nushell/nushell/issues/7125 cd (get-repo-store-path) - let heads: list = glob "**/HEAD" --not [ + let heads: list = glob "**/HEAD" --exclude [ **/.git/**/refs/remotes/**/HEAD, **/.git/modules/**/HEAD, **/logs/HEAD