From 6fdf7a98be66cbe55bddcc9c4e023503267347f3 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 12 Oct 2020 04:07:57 -0400 Subject: [PATCH] Adds separator to commits view --- src/views/nodes/branchNode.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/nodes/branchNode.ts b/src/views/nodes/branchNode.ts index a756a69..66b4ef3 100644 --- a/src/views/nodes/branchNode.ts +++ b/src/views/nodes/branchNode.ts @@ -163,6 +163,10 @@ export class BranchNode } } + if (children.length !== 0) { + children.push(new MessageNode(this.view, this, '', GlyphChars.Dash.repeat(2), '')); + } + let unpublished: GitLog | undefined; if (this.branch.tracking && this.branch.state.ahead) { unpublished = await Container.git.getLog(this.uri.repoPath!, {