summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-03-27 21:25:37 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-28 11:59:45 +1100
commitc1a4bd0482ab06279700fa95404131ef24a2297d (patch)
treef3c6a24a7a6cc482fe14f2001d704edefff59bc9 /pkg/commands
parentd0336fe16f3a365eb9bfff1086a4c02277e1f5dd (diff)
more smart refreshing
WIP WIP WIP WIP WIP fix how diff entries are handled WIP WIP WIP WIP WIP WIP
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/commit_list_builder.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/commands/commit_list_builder.go b/pkg/commands/commit_list_builder.go
index b48c305c4..965bcd4e0 100644
--- a/pkg/commands/commit_list_builder.go
+++ b/pkg/commands/commit_list_builder.go
@@ -129,14 +129,6 @@ func (c *CommitListBuilder) GetCommits(limit bool) ([]*Commit, error) {
return nil, err
}
- for _, commit := range commits {
- for _, entry := range c.DiffEntries {
- if entry.Sha == commit.Sha {
- commit.Status = "selected"
- }
- }
- }
-
return commits, nil
}