[BUG] "@" file autocompletion suggestions do not include files anymore that are listed in ".git/info/exclude"

Resolved 💬 3 comments Opened Aug 13, 2025 by SwiftedMind Closed Aug 16, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.73
  • Operating System: macOS 26 Beta 6
  • Terminal: iTerm2, Warp

Bug Description

Since one of the recent updates, the "@" file autocompletion does not include files anymore, that are listed in ".git/info/exclude". I'm not sure if this is intended or not but it breaks my setup, unfortunately 😅

Steps to Reproduce

  1. Add a file to ".git/info/exclude"
  2. Open Claude Code and try to "@" the file. It will not show up in the autocompletion list

Expected Behavior

I want those files to be listed in the autocompletions when typing "@{fileName}"

Actual Behavior

They are not listed

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗