Skip to content

Instantly share code, notes, and snippets.

View yosifkit's full-sized avatar
:octocat:

yosifkit

:octocat:
View GitHub Profile
@yosifkit
yosifkit / git-diff-process-substitution.patch
Last active February 17, 2022 19:20
dev-vcs/git-2.4.10 patch for git diff to work for process substitution: `$ git diff --color-words <(echo a b c) <(echo a d c)`
diff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt
index bbab35f..f4ca476 100644
--- a/Documentation/git-diff.txt
+++ b/Documentation/git-diff.txt
@@ -99,10 +99,17 @@ include::diff-options.txt[]
<path>...::
The <paths> parameters, when given, are used to limit
the diff to the named paths (you can give directory
names and get diff for all files under them).