Skip to contentSkip to conversation

completion: Add --word-diff-regex= to diff

PATCH In review Thomas Braun 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 completion: Add --word-diff-regex= to diff

---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/contrib/completion/git-completion.bash
index ab4da7f..d2a08dd 100644

contrib/completion/git-completion.bash +1 -2
@@ -1169,7 +1169,7 @@ __git_diff_common_options="--stat --numstat
--shortstat --summary
 			--no-prefix --src-prefix= --dst-prefix=
 			--inter-hunk-context=
 			--patience --histogram --minimal
-			--raw --word-diff
+			--raw --word-diff --word-diff-regex=
 			--dirstat --dirstat= --dirstat-by-file
 			--dirstat-by-file= --cumulative

--diff-algorithm=

Signature · 1 line
2.7.0.windows.1
#1 lore raw
Quoted 11 lines · Thomas Braun
---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/completion/git-completion.bash +0 -0
index ab4da7f..d2a08dd 100644

contrib/completion/git-completion.bash __git_diff_common_options="--stat --numstat

Quoted 9 lines
contrib/completion/git-completion.bash +1 -2
@@ -1169,7 +1169,7 @@ __git_diff_common_options="--stat --numstat
--shortstat --summary
 			--no-prefix --src-prefix= --dst-prefix=
 			--inter-hunk-context=
 			--patience --histogram --minimal
-			--raw --word-diff
+			--raw --word-diff --word-diff-regex=
 			--dirstat --dirstat= --dirstat-by-file
 			--dirstat-by-file= --cumulative
 			--diff-algorithm=

Thanks; the patch was word-wrapped, but I fixed it up and managed to apply.

#2 lore raw

Am 21.01.2016 um 01:18 schrieb Junio C Hamano:

Quoted 17 lines
Quoted 15 lines · Thomas Braun
---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/completion/git-completion.bash +0 -1
index ab4da7f..d2a08dd 100644
@@ -1169,7 +1169,7 @@ __git_diff_common_options="--stat --numstat
--shortstat --summary
 			--no-prefix --src-prefix= --dst-prefix=
 			--inter-hunk-context=
 			--patience --histogram --minimal
Quoted 8 lines

contrib/completion/git-completion.bash __git_diff_common_options="--stat --numstat

Quoted 5 lines
contrib/completion/git-completion.bash +1 -1
-			--raw --word-diff
+			--raw --word-diff --word-diff-regex=
 			--dirstat --dirstat= --dirstat-by-file
 			--dirstat-by-file= --cumulative
 			--diff-algorithm=

Thanks; the patch was word-wrapped, but I fixed it up and managed to apply.

Thanks for applying Junio, and sorry that you had to clean up my sloppyness.