From 0737df7e83efb66410e1a40d64bfa7c664a1d35b Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sun, 29 Jan 2023 12:45:39 +0100 Subject: diff ledger files by posting --- home-dots/dot-gitconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'home-dots/dot-gitconfig') 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] -- cgit v1.2.3