Skip to content

Commit

Permalink
use glob --exclude instead of glob --not
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Oct 25, 2023
1 parent 2409fa4 commit 2cc5586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nu-git-manager/fs/store.nu
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export def list-repos-in-store []: nothing -> list<path> {
# first and then perform the globbing
# related to https://github.com/nushell/nushell/issues/7125
cd (get-repo-store-path)
let heads: list<string> = glob "**/HEAD" --not [
let heads: list<string> = glob "**/HEAD" --exclude [
**/.git/**/refs/remotes/**/HEAD,
**/.git/modules/**/HEAD,
**/logs/HEAD
Expand Down

0 comments on commit 2cc5586

Please sign in to comment.