Skip to content

Commit

Permalink
my.coding.commits: fix for git repo discovery after fdfind v9
Browse files Browse the repository at this point in the history
  • Loading branch information
karlicoss committed Mar 13, 2024
1 parent 751ed02 commit 103ea20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions my/coding/commits.py
Original file line number Diff line number Diff line change
Expand Up @@ -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..
Expand Down

0 comments on commit 103ea20

Please sign in to comment.