From 2f26abdd32dfc92d5313e0f1ae7db75df2f638ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Thu, 18 Mar 2021 16:43:31 +0100 Subject: Orgmode git diff headings --- git/global-gitconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git') diff --git a/git/global-gitconfig b/git/global-gitconfig index 89270c5..0131ef1 100644 --- a/git/global-gitconfig +++ b/git/global-gitconfig @@ -5,12 +5,12 @@ rebase = true [push] default = simple -[core] - attributesfile = ~/.gitattributes [diff "gpg"] textconv = gpg --no-tty --decrypt [diff "pdf"] textconv = pdfinfo +[diff "org"] + xfuncname = "^(\\*+ +.*)$" [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