Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cd137e2

Browse files
feature: enable --no-ext-diff for git diff command
Signed-off-by: leo <longshuang@msn.cn>
1 parent 8d84d0f commit cd137e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/Commands/Diff.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ public Diff(string repo, Models.DiffOption opt, int unified, bool ignoreWhitespa
2828
Context = repo;
2929

3030
if (ignoreWhitespace)
31-
Args = $"diff --patch --ignore-cr-at-eol --ignore-all-space --unified={unified} {opt}";
31+
Args = $"diff --no-ext-diff --patch --ignore-cr-at-eol --ignore-all-space --unified={unified} {opt}";
3232
else
33-
Args = $"diff --patch --ignore-cr-at-eol --unified={unified} {opt}";
33+
Args = $"diff --no-ext-diff --patch --ignore-cr-at-eol --unified={unified} {opt}";
3434
}
3535

3636
public Models.DiffResult Result()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /