From c81922f8cfa2a95fa356639c460968bc27a9bf71 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Tue, 7 Aug 2018 19:32:25 +1000 Subject: [PATCH] rename recency to prefix --- gitcommands.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitcommands.go b/gitcommands.go index 3039501b8..fe2b7746f 100644 --- a/gitcommands.go +++ b/gitcommands.go @@ -526,13 +526,13 @@ func getBranches() []Branch { return branches } -func constructBranch(recency, name string, index int) Branch { +func constructBranch(prefix, name string, index int) Branch { branchType, branchBase, colourAttr := branchPropertiesFromName(name) if index == 0 { - recency = " *" + prefix = " *" } colour := color.New(colourAttr) - displayString := withPadding(recency, 4) + coloredString(name, colour) + displayString := withPadding(prefix, 4) + coloredString(name, colour) return Branch{ Name: name, Type: branchType,