mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
Fix SSE events to include missing gitDeletedCount field
The git-watcher was sending incomplete git status updates via SSE, missing the gitDeletedCount field. This caused the UI to lose the deleted files count after receiving real-time updates. Note: gitAddedCount is defined in the Session type but is not computed by the git status utility and remains unused throughout the codebase.
This commit is contained in:
parent
a53091d04b
commit
23a8999e28
1 changed files with 1 additions and 0 deletions
|
|
@ -270,6 +270,7 @@ export class GitWatcher {
|
|||
gitModifiedCount: status.modified,
|
||||
gitUntrackedCount: status.untracked,
|
||||
gitStagedCount: status.staged,
|
||||
gitDeletedCount: status.deleted,
|
||||
gitAheadCount: status.ahead,
|
||||
gitBehindCount: status.behind,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue