From 00630fc39e8679877768f46c820ff72db579990b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 2 Nov 2021 22:04:00 -0700 Subject: [PATCH] =?UTF-8?q?[git]=20Show=20closest=20heading=20in=20diff=20?= =?UTF-8?q?hunk=20headers=20for=20=E2=80=98.org=E2=80=99=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git/.config/git/attributes | 1 + git/.config/git/config | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 git/.config/git/attributes diff --git a/git/.config/git/attributes b/git/.config/git/attributes new file mode 100644 index 0000000..5c9acb3 --- /dev/null +++ b/git/.config/git/attributes @@ -0,0 +1 @@ +*.org diff=org diff --git a/git/.config/git/config b/git/.config/git/config index d931606..dc4736f 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -1,3 +1,5 @@ [user] name = Tom Willemse - email = tom@ryuslash.org \ No newline at end of file + email = tom@ryuslash.org +[diff "org"] + xfuncname = "^\\*+ *(.*)"