diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-22 17:26:23 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 2eee079d3aafb7914947e85fe5decd528c34ab93 (patch) | |
tree | 7570fd5cdfb1aa0a3b4c4d6cbdf4c7f4a9472db0 /pkg/gui/staging_panel.go | |
parent | 30a555b108ddf85d53ea26013e590027660ac5da (diff) |
minor rename
Diffstat (limited to 'pkg/gui/staging_panel.go')
-rw-r--r-- | pkg/gui/staging_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/staging_panel.go b/pkg/gui/staging_panel.go index 4c8cb3571..97bd84fbb 100644 --- a/pkg/gui/staging_panel.go +++ b/pkg/gui/staging_panel.go @@ -43,8 +43,8 @@ func (gui *Gui) refreshStagingPanel(forceSecondaryFocused bool, selectedLineIdx } // note for custom diffs, we'll need to send a flag here saying not to use the custom diff - diff := gui.GitCommand.Diff(file, true, secondaryFocused) - secondaryDiff := gui.GitCommand.Diff(file, true, !secondaryFocused) + diff := gui.GitCommand.WorktreeFileDiff(file, true, secondaryFocused) + secondaryDiff := gui.GitCommand.WorktreeFileDiff(file, true, !secondaryFocused) // if we have e.g. a deleted file with nothing else to the diff will have only // 4-5 lines in which case we'll swap panels |