Skip to content

Fix git summary status collapsing untracked directories#194

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/warm-eagle-aebb35af
Jun 16, 2026
Merged

Fix git summary status collapsing untracked directories#194
SDSLeon merged 1 commit into
masterfrom
lightcode/warm-eagle-aebb35af

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 16, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: Stop the Changes panel from flipping between a collapsed untracked directory and per-file rows when summary polls refresh against a full status load.
  • Run git ls-files --others --exclude-standard alongside porcelain status in the summary path (native and WSL) so untracked paths can be expanded consistently.
  • Replace collapsed ? dir/ entries with one row per untracked file in summary results, matching the structure returned by the full refresh path.
  • Keep summary insertion/deletion counts at zero; the renderer continues to backfill counts from the prior full refresh via mergeSummaryStatus.
  • Add unit tests for expandUntrackedEntries and buildGitStatusSummaryFromOutput.

- Run `git ls-files --others` with porcelain v2 on cheap summary polls
- Add `expandUntrackedEntries` so summary file lists match full refresh
- Add parser tests for expansion and `buildGitStatusSummaryFromOutput`
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 16, 2026 8:02pm

@SDSLeon SDSLeon merged commit 53afca8 into master Jun 16, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/warm-eagle-aebb35af branch June 16, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant