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

support submodules

This commit is contained in:
Jesse Duffield
2020-09-28 08:21:53 +10:00
parent 72a31aed76
commit ca437a6504
5 changed files with 55 additions and 5 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 --no-ext-diff --color %s", gui.diffStr()),
fmt.Sprintf("git diff --submodule --no-ext-diff --color %s", gui.diffStr()),
)
task := gui.createRunPtyTask(cmd)