diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2021-03-18 16:43:31 +0100 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2021-03-18 16:43:31 +0100 |
commit | 2f26abdd32dfc92d5313e0f1ae7db75df2f638ec (patch) | |
tree | 397e6f7e3948c0278d2cf754b9afc89c4e5ef37d /git | |
parent | c8cddda732a15750d1efc76c3314e5717a5997f4 (diff) | |
download | dotfiles-2f26abdd32dfc92d5313e0f1ae7db75df2f638ec.tar.gz dotfiles-2f26abdd32dfc92d5313e0f1ae7db75df2f638ec.tar.bz2 dotfiles-2f26abdd32dfc92d5313e0f1ae7db75df2f638ec.zip |
Orgmode git diff headings
Diffstat (limited to 'git')
-rw-r--r-- | git/global-gitconfig | 4 |
1 files changed, 2 insertions, 2 deletions
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] |