feat(tui): add main branch source to diff mode (#30942)

This commit is contained in:
Victor Navarro 2026-06-24 12:35:37 +02:00 committed by GitHub
commit 6eec98371a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 82 additions and 22 deletions

View file

@ -113,6 +113,7 @@ function stateApi(sync: ReturnType<typeof useSync>): TuiPluginApi["state"] {
if (!sync.data.vcs) return
return {
branch: sync.data.vcs.branch,
default_branch: sync.data.vcs.default_branch,
}
},
session: {