git-ai-project/git-ai

Exclude empty .git dirs from valid git repo detection

クローズ

#1,415 opened on 2026/05/21

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (231 件のフォーク)auto 404
enhancementgood first issue

Repository metrics

Stars
 (2,272 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Git AI uses the presence of a .git dir to determine whether a directory is a git repo to save the overhead of shelling out to git. Add additional guardrails (without degrading performance) to ensure that the .git is real

Original discussion: https://github.com/git-ai-project/git-ai/issues/1041#issuecomment-4481683285

コントリビューターガイド