optimize<Diff>: show 4 context lines on diff

This commit is contained in:
leo 2021-07-28 15:04:00 +08:00
parent 92de6f2b79
commit 18f35449e5

View file

@ -16,7 +16,7 @@ namespace SourceGit.Commands {
public Diff(string repo, string args) { public Diff(string repo, string args) {
Cwd = repo; Cwd = repo;
Args = $"diff --ignore-cr-at-eol {args}"; Args = $"diff --ignore-cr-at-eol --unified=4 {args}";
} }
public Models.TextChanges Result() { public Models.TextChanges Result() {