me
/
guix
Archived
1
0
Fork 0

Add git configuration templates to improve diff hunk header detection.

This is a follow-up to commit 9fc8ae4171, which
missed two hunks from <https://issues.guix.gnu.org/50363>.

Reported by hackeryarn on #guix.

* .gitattributes, etc/git/gitconfig: New files.

Signed-off-by: Marius Bakke <marius@gnu.org>
master
Sarah Morgensen 2021-09-20 16:37:44 -07:00 committed by Marius Bakke
parent a2c01c48aa
commit f8b10932c8
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
2 changed files with 8 additions and 0 deletions

3
.gitattributes vendored 100644
View File

@ -0,0 +1,3 @@
*.scm diff=scheme
*.scm.in diff=scheme
*.texi diff=texinfo

View File

@ -0,0 +1,5 @@
[diff "scheme"]
xfuncname = "^(\\(define.*)$"
[diff "texinfo"]
xfuncname = "^@node[[:space:]]+([^,]+).*$"