Skip to content

Fix dashboard diff line counts#63

Open
w287346141 wants to merge 1 commit into
Yapie0:mainfrom
w287346141:codex/fix-dashboard-diff-line-counts
Open

Fix dashboard diff line counts#63
w287346141 wants to merge 1 commit into
Yapie0:mainfrom
w287346141:codex/fix-dashboard-diff-line-counts

Conversation

@w287346141
Copy link
Copy Markdown

Summary

  • fix dashboard git diff parsing so +++ / --- file header lines do not inflate addition/deletion counts
  • detect added and deleted file blocks even when they are preceded by the diff --git header
  • add a focused parser regression test covering modified, added, and deleted files

Validation

  • npm.cmd test -- --run tests/git-diffs.test.ts
  • npm.cmd test -- --run tests/git-diffs.test.ts tests/server-dashboard.test.ts
  • npm.cmd run lint
  • npm.cmd run typecheck
  • git diff --check
  • push hook ran npm.cmd run verify

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