From f6654d9cc211a5041acc7a3ed57907b552ec594d Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 14 Feb 2023 10:32:17 -0500 Subject: git addnw --- dot_gitconfig.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 74c6103..52def6b 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -21,6 +21,7 @@ rl = reflog --format='%C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)' subrepo = !~/.local/lib/git-core/git-subrepo + addnw=!sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -' [push] default = simple [url "git://anonscm.debian.org"] -- cgit v1.2.3