From 9ad4f4feb6cdb2c244503d49c7e92c1eafeed91e Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 30 Aug 2020 01:55:26 -0400 Subject: [PATCH] Switches commits view title order --- src/views/commitsView.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; }