From f8b10932c86cf4c1657a67e8c484d76f757b64bd Mon Sep 17 00:00:00 2001 From: Sarah Morgensen Date: Mon, 20 Sep 2021 16:37:44 -0700 Subject: Add git configuration templates to improve diff hunk header detection. This is a follow-up to commit 9fc8ae4171e5da4939a64fc6d684c8b9d85bbe84, which missed two hunks from . Reported by hackeryarn on #guix. * .gitattributes, etc/git/gitconfig: New files. Signed-off-by: Marius Bakke --- etc/git/gitconfig | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 etc/git/gitconfig (limited to 'etc/git') diff --git a/etc/git/gitconfig b/etc/git/gitconfig new file mode 100644 index 0000000000..c9ebdc8fa8 --- /dev/null +++ b/etc/git/gitconfig @@ -0,0 +1,5 @@ +[diff "scheme"] + xfuncname = "^(\\(define.*)$" + +[diff "texinfo"] + xfuncname = "^@node[[:space:]]+([^,]+).*$" -- cgit 1.4.1