git-ai-project/git-ai

Exclude empty .git dirs from valid git repo detection

已关闭

#1,415 创建于 2026年5月21日

 (0 条评论) (0 个反应) (0 位负责人)Rust (231 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (2,272 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南