git-ai-project/git-ai

Exclude empty .git dirs from valid git repo detection

Fechada

#1.415 aberto em 21 de mai. de 2026

 (0 comentário) (0 reação) (0 responsável)Rust (231 forks)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (2.272 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador