Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

git: Suppress diffs by default on giant Stripe API fixtures

Greg Priced71702c9fc4c
diff --git a/.gitattributes b/.gitattributes
index 4720eb2aa59..195981d2965 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,4 +1,19 @@
+# DIFFS: Noise suppression.
+#
+# Suppress noisy generated files in diffs.
+# (When you actually want to see these diffs, use `git diff -a`.)
+
+# Large test fixtures:
+corporate/tests/stripe_fixtures/*.json -diff
+
+
+# FORMATTING
+
+# Maintain LF (Unix-style) newlines in text files.
* text=auto eol=lf
+
+# Make sure various media files never get somehow auto-detected as text
+# and then newline-converted.
*.gif binary
*.jpg binary
*.jpeg binary