From 6210ee2134391f1a20fd423ff84c1ffe3f29dc0c Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sun, 8 Nov 2020 16:36:52 +0100 Subject: [PATCH] Set diff=rust git attribute for rust files This gives nicer hunk headers Fixes #1095 --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 6313b56c578..0ceb3fe646c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ * text=auto eol=lf +*.rs diff=rust