From 18f35449e5e60bcc4ab68bcca0046600e61d9061 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 28 Jul 2021 15:04:00 +0800 Subject: [PATCH] optimize: show 4 context lines on diff --- src/Commands/Diff.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Diff.cs b/src/Commands/Diff.cs index 79e5945b..5128b341 100644 --- a/src/Commands/Diff.cs +++ b/src/Commands/Diff.cs @@ -16,7 +16,7 @@ namespace SourceGit.Commands { public Diff(string repo, string args) { Cwd = repo; - Args = $"diff --ignore-cr-at-eol {args}"; + Args = $"diff --ignore-cr-at-eol --unified=4 {args}"; } public Models.TextChanges Result() {