diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 15:04:12 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 15:11:06 +1000 |
commit | 9f71c8d2b9cd971df454362dea34dd91af200568 (patch) | |
tree | 864a2d05e31754e68fd718d3e5bac5ebfb858d2c /pkg/gui | |
parent | fce7cdcc0ae54ce625659a178af698db398c047e (diff) |
rename Status to PatchStatus
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/presentation/commit_files.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/presentation/commit_files.go b/pkg/gui/presentation/commit_files.go index d930c60dc..51107bb83 100644 --- a/pkg/gui/presentation/commit_files.go +++ b/pkg/gui/presentation/commit_files.go @@ -31,7 +31,7 @@ func getCommitFileDisplayStrings(f *commands.CommitFile, diffed bool) []string { diffTerminalColor := color.New(theme.DiffTerminalColor) var colour *color.Color - switch f.Status { + switch f.PatchStatus { case patch.UNSELECTED: colour = defaultColor case patch.WHOLE: |