summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index 4da5d5e96..49a894941 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -105,9 +105,6 @@ type Gui struct {
IsNewRepo bool
- // flag as to whether or not the diff view should ignore whitespace
- IgnoreWhitespaceInDiffView bool
-
IsRefreshingFiles bool
// we use this to decide whether we'll return to the original directory that
@@ -144,14 +141,6 @@ type StateAccessor struct {
var _ types.IStateAccessor = new(StateAccessor)
-func (self *StateAccessor) GetIgnoreWhitespaceInDiffView() bool {
- return self.gui.IgnoreWhitespaceInDiffView
-}
-
-func (self *StateAccessor) SetIgnoreWhitespaceInDiffView(value bool) {
- self.gui.IgnoreWhitespaceInDiffView = value
-}
-
func (self *StateAccessor) GetRepoPathStack() *utils.StringStack {
return self.gui.RepoPathStack
}