Skip to content

Commit 02d98a8

Browse files
authored
Improve Git diffs (#9823)
In Git 2.25 there comes native support for Elixir definitions. That will make `git diff --function-context` work properly. Additionally it makes diff headers to contain name of enclosing function. I hope that this will work in GitHub diffs as well.
1 parent 036e06d commit 02d98a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
lib/elixir/test/elixir/fixtures/*.txt text eol=lf
2+
*.ex diff=elixir
3+
*.exs diff=elixir

0 commit comments

Comments
 (0)