From ccbc3e18f711c39482e9ed6045ed99b4da889a59 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Fri, 7 Aug 2026 15:21:21 +0500 Subject: git: update diff aliases to use global DFT_BACKGROUND --- files/.gitconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/.gitconfig') diff --git a/files/.gitconfig b/files/.gitconfig index cb51eed..1574600 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -81,10 +81,10 @@ # Diff dc = diff --find-copies-harder --cached - ddiff = "!f() { DFT_BACKGROUND=light git -c diff.external=difft diff $@; }; f" + ddiff = -c diff.external=difft diff di = diff --find-copies-harder diffstat = diff --stat -r - dshow = "!f() { DFT_BACKGROUND=light git -c diff.external=difft show --ext-diff $@; }; f" + dshow = -c diff.external=difft show --ext-diff # GUI Tools history-all = "!gitk --all $( git fsck | awk '/dangling commit/ {print $3}'; git log -g --pretty='format:%H')" @@ -93,7 +93,7 @@ kb = !sh -c 'gitk --branches' - # Log & History - dlog = "!f() { DFT_BACKGROUND=light git -c diff.external=difft log -p --ext-diff $@; }; f" + dlog = -c diff.external=difft log -p --ext-diff l = lg -10 lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%aN>%Creset' --abbrev-commit --date=relative rl = reflog --date=relative -- cgit v1.2.3