[BUG] Shell Commands take too much time
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Sometime, simple commands like git status --short takes minutes. I'm not sure if it's because commands are queued up ( atleast I don't see a queue ).
I've noticed this very frequently. Seemingly simple commands like git log takes over a minute.
<img width="1010" height="242" alt="Image" src="https://github.com/user-attachments/assets/a0b9f443-5f99-4e8c-a291-d090067e0754" />
What Should Happen?
Simple commands should execute much faster.
Error Messages/Logs
Steps to Reproduce
I'm not sure how to reproduce this. It happens on arbirary commands. I've mostly seen this on git commands, but rarely on other commands too.
It's worth asking claude to analyse git logs. Hopefully a couple tries might re-produce this.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.41
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗