devx: nicer diff hunk headers (#8482)

By default git does not find a nice hunk header with rust. New(er)
versions ship with a handy xfuncname pattern, so lets enable that for
all developers.

Example of how this should help:
39046172ab
This commit is contained in:
Joonas Koivunen
2024-07-24 18:50:49 +03:00
committed by GitHub
parent 5f4e14d27d
commit 99b1a1dfb6

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
# allows for nicer hunk headers with git show
*.rs diff=rust