sirmalloc--ccstatusline
861a2a0638
When the statusline refreshes while another git process is writing .git/index.lock (e.g. a concurrent `git restore --staged`), commands like `git diff --shortstat` fail with "Unable to create index.lock" because diff tries to refresh the stat cache and races on the lock. `runGitArgs` now prepends `--no-optional-locks` to every git invocation so read-only commands cannot interfere with the user's working git operations. The two call sites that already prefixed the flag manually are simplified.