Skip to content

Add ruby diff context to gitattribute

Mark Chao requested to merge add-ruby-diff-scoping into master

What does this MR do?

Add ruby diff scoping to .gitattribute, so diffing is more context aware. I learned this from https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more

Before change:

@@ -26,6 +26,7 @@ class FooWorker
+      hihi

After change:

@@ -26,6 +26,7 @@ def perform
+      hihi

Does this MR meet the acceptance criteria?

Conformity

Merge request reports