summaryrefslogtreecommitdiffstats
path: root/pkg/commands/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/remote.go')
-rw-r--r--pkg/commands/remote.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/pkg/commands/remote.go b/pkg/commands/remote.go
index b3c144b65..1dc9f7e7f 100644
--- a/pkg/commands/remote.go
+++ b/pkg/commands/remote.go
@@ -1,24 +1,8 @@
package commands
-import (
- "fmt"
-
- "github.com/fatih/color"
- "github.com/jesseduffield/lazygit/pkg/utils"
-)
-
// Remote : A git remote
type Remote struct {
Name string
Urls []string
- Selected bool
Branches []*RemoteBranch
}
-
-// GetDisplayStrings returns the display string of a remote
-func (r *Remote) GetDisplayStrings(isFocused bool) []string {
-
- branchCount := len(r.Branches)
-
- return []string{r.Name, utils.ColoredString(fmt.Sprintf("%d branches", branchCount), color.FgBlue)}
-}