From d165dd95a3aa1b30cbcbd34b269b89977e91f583 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sat, 25 Jan 2025 19:07:03 -0500 Subject: [PATCH] feat(git): add diff-patch alias --- homeManagerModules/shell/git/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/homeManagerModules/shell/git/default.nix b/homeManagerModules/shell/git/default.nix index 6a39de8d..dbb5a574 100644 --- a/homeManagerModules/shell/git/default.nix +++ b/homeManagerModules/shell/git/default.nix @@ -44,6 +44,7 @@ in { extraConfig = { alias = { diff-clean = "-c delta.side-by-side=false diff"; + diff-patch = "-c delta.side-by-side=false -c delta.keep-plus-minus-markers=true diff"; # https://stackoverflow.com/a/18317425 ignore = "update-index --assume-unchanged";