Commit 3145824
authored
🤖 Limit git status output to reduce console spam (#258)
Reduces console noise from background git status polling by increasing
the bash truncate limit.
## Changes
### Increase bash truncate limit to 80 lines
Changed from 50 → 80 lines for the `truncate` overflow policy. This
provides better debugging context for git status output while still
preventing excessive spam.
**Before (50 lines):**
- Too restrictive for useful debugging
- Git status output often cut off mid-info
**After (80 lines):**
- Provides better context for git operations
- Still prevents console flooding
- Only affects IPC bash calls (background operations)
## Note on SHOW_BRANCH truncation
Initially considered truncating `git show-branch` output before parsing,
but this would break ahead/behind counting in
`parseGitShowBranchForStatus` which iterates all commit lines. The
80-line truncate limit is sufficient for most cases, and the `truncate`
overflow policy ensures we don't spam temp files.
## Dependencies
Built on top of #256 which adds the `overflow_policy` feature.
_Generated with `cmux`_1 parent 43a47d1 commit 3145824
File tree
3 files changed
+10
-9
lines changed- src
- components
- services/tools
3 files changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
306 | 307 | | |
307 | 308 | | |
308 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
328 | | - | |
| 327 | + | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
0 commit comments