summaryrefslogtreecommitdiffstats
path: root/pkg/commands/models/branch.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-03-24 17:49:25 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-24 17:50:25 +1100
commitdde30fa104347ab9c01f82b7886864b473e6f51c (patch)
tree560b545c54e7051d16cef4056f8485557dccee91 /pkg/commands/models/branch.go
parent13a9bbb984601d19f1aabe7abfbf58fbe91cf621 (diff)
add gone branches status
Diffstat (limited to 'pkg/commands/models/branch.go')
-rw-r--r--pkg/commands/models/branch.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkg/commands/models/branch.go b/pkg/commands/models/branch.go
index 3cdf5ad6d..dae934fdf 100644
--- a/pkg/commands/models/branch.go
+++ b/pkg/commands/models/branch.go
@@ -5,11 +5,12 @@ package models
type Branch struct {
Name string
// the displayname is something like '(HEAD detached at 123asdf)', whereas in that case the name would be '123asdf'
- DisplayName string
- Recency string
- Pushables string
- Pullables string
- Head bool
+ DisplayName string
+ Recency string
+ Pushables string
+ Pullables string
+ UpstreamGone bool
+ Head bool
// if we have a named remote locally this will be the name of that remote e.g.
// 'origin' or 'tiwood'. If we don't have the remote locally it'll look like
// 'git@github.com:tiwood/lazygit.git'