aboutsummaryrefslogtreecommitdiffstats
path: root/home-dots/dot-gitconfig
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-01-29 12:45:39 +0100
committerOscar Najera <hi@oscarnajera.com>2023-03-03 11:53:43 +0100
commit0737df7e83efb66410e1a40d64bfa7c664a1d35b (patch)
tree62c05c35df9afc22f832559d350516a45845d23b /home-dots/dot-gitconfig
parent80bf55244687e9507afc366c6588c40061cfcc2f (diff)
downloaddotfiles-0737df7e83efb66410e1a40d64bfa7c664a1d35b.tar.gz
dotfiles-0737df7e83efb66410e1a40d64bfa7c664a1d35b.tar.bz2
dotfiles-0737df7e83efb66410e1a40d64bfa7c664a1d35b.zip
diff ledger files by posting
Diffstat (limited to 'home-dots/dot-gitconfig')
-rw-r--r--home-dots/dot-gitconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/home-dots/dot-gitconfig b/home-dots/dot-gitconfig
index 8335e8e..11cff2d 100644
--- a/home-dots/dot-gitconfig
+++ b/home-dots/dot-gitconfig
@@ -14,6 +14,9 @@
xfuncname = "^(\\*+ +.*)$"
[diff "lisp"]
xfuncname = "^[ \t]*(((;+ )|\\((cl-|el-patch-|ert-)?def(un|var|macro|method|custom|ine|test)).*)$"
+[diff "ledger"]
+ xfuncname = "^([0-9]{4}-[0-9]+-[0-9]+ .*)$"
+
[difftool "image_diff"]
cmd = compare $REMOTE $LOCAL png:- | montage -font Liberation-Sans -tile 3x -geometry 400x -label "reference" $LOCAL -label "diff" - -label "current--%f" $REMOTE x:
[diff]