Browse Source

Adds separator to commits view

main
Eric Amodio 4 years ago
parent
commit
6fdf7a98be
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/views/nodes/branchNode.ts

+ 4
- 0
src/views/nodes/branchNode.ts View File

@ -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; let unpublished: GitLog | undefined;
if (this.branch.tracking && this.branch.state.ahead) { if (this.branch.tracking && this.branch.state.ahead) {
unpublished = await Container.git.getLog(this.uri.repoPath!, { unpublished = await Container.git.getLog(this.uri.repoPath!, {

Loading…
Cancel
Save