diff --git a/src/views/commitsView.ts b/src/views/commitsView.ts index f6266e9..741257a 100644 --- a/src/views/commitsView.ts +++ b/src/views/commitsView.ts @@ -161,10 +161,9 @@ export class CommitsViewNode extends ViewNode { const branch = await child.repo.getBranch(); if (branch != null) { - this.view.title = `${branch.name} Commits`; - this.view.titleDescription = branch?.getTrackingStatus(); + const status = branch.getTrackingStatus(); + this.view.titleDescription = `${branch.name}${status ? ` ${GlyphChars.Dot} ${status}` : ''}`; } else { - this.view.title = 'Commits'; this.view.titleDescription = undefined; }