1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

use --no-ext-diff flag for git diff

This commit is contained in:
Jesse Duffield
2020-09-23 19:52:52 +10:00
parent 03ea4a884a
commit fe64f2f4c9
3 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ func (gui *Gui) exitDiffMode() error {
func (gui *Gui) renderDiff() error {
cmd := gui.OSCommand.ExecutableFromString(
fmt.Sprintf("git diff --color %s", gui.diffStr()),
fmt.Sprintf("git diff --no-ext-diff --color %s", gui.diffStr()),
)
task := gui.createRunPtyTask(cmd)