aboutsummaryrefslogtreecommitdiff
path: root/files/.gitconfig
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2026-08-07 15:21:21 +0500
committerAnton Bobov <anton@bobov.name>2026-08-07 23:05:08 +0500
commitccbc3e18f711c39482e9ed6045ed99b4da889a59 (patch)
tree8b7bc5b561c732ef3c1b47f3e498985a80c9fb1d /files/.gitconfig
parentcfe2df71a7f440d7f3f2e50c8a53748810b00fb0 (diff)
git: update diff aliases to use global DFT_BACKGROUND
Diffstat (limited to 'files/.gitconfig')
-rw-r--r--files/.gitconfig6
1 files changed, 3 insertions, 3 deletions
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