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

貢獻者指南