feat(vcs): show branch and incoming/outgoing commits beside repository roots (#2605)

Settings > Version Control > Git > "Show branch and incoming/outgoing commits
in the Project view" (off by default) shows each repository root's branch and
its outgoing/incoming commit counts beside the root in the Project view. Git is
queried only after a change inside .git or when the set of roots changes, one
round at a time.

Co-authored-by: pdasilem <74730932+pdasilem@users.noreply.github.com>
This commit is contained in:
Sergei Melnikov
2026-11-11 08:46:16 +08:00
committed by GitHub
parent fe69210ef0
commit 2e4e5bb088
14 changed files with 418 additions and 4 deletions
@@ -66,6 +66,22 @@
text-decoration-skip-ink: none;
text-underline-offset: 3px;
}
.suffix {
display: inline-flex;
flex: 0 1 auto;
align-items: center;
gap: 4px;
min-width: 0;
margin-left: 6px;
overflow: hidden;
color: var(--fg-muted);
white-space: nowrap;
}
.suffixSegment {
display: inline-flex;
align-items: center;
gap: 1px;
}
.detail {
min-width: 0;
margin-left: 4px;