Skip to content

Commit

Permalink
Set diff=rust git attribute for rust files
Browse files Browse the repository at this point in the history
This gives nicer hunk headers

Fixes rust-lang#1095
  • Loading branch information
bjorn3 committed Nov 8, 2020
1 parent 11dd005 commit 6210ee2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* text=auto eol=lf
*.rs diff=rust

0 comments on commit 6210ee2

Please sign in to comment.