Skip to content

Commit

Permalink
Improve Git diffs (elixir-lang#9823)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hauleth authored Feb 17, 2020
1 parent 036e06d commit 02d98a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
lib/elixir/test/elixir/fixtures/*.txt text eol=lf
*.ex diff=elixir
*.exs diff=elixir

0 comments on commit 02d98a8

Please sign in to comment.