From 103ea2096ee842dd10172ae68574173875a6dbea Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Wed, 13 Mar 2024 00:18:12 +0000 Subject: [PATCH] my.coding.commits: fix for git repo discovery after fdfind v9 --- my/coding/commits.py | 1 + 1 file changed, 1 insertion(+) diff --git a/my/coding/commits.py b/my/coding/commits.py index 67ee77d7..51f9222b 100644 --- a/my/coding/commits.py +++ b/my/coding/commits.py @@ -155,6 +155,7 @@ def git_repos_in(roots: List[Path]) -> List[Path]: _fd_path(), # '--follow', # right, not so sure about follow... make configurable? '--hidden', + '--no-ignore', # otherwise doesn't go inside .git directory (from fd v9) '--full-path', '--type', 'f', '/HEAD', # judging by is_git_dir, it should always be here..