mirror of https://github.com/zulip/zulip.git
git: Suppress diffs by default on giant Stripe API fixtures
Before: $ git log -p -188fd399bec
| wc 50015 134879 2016086 After: $ git log -p -188fd399bec
| wc 1554 6624 229028 $ git log -a -p -188fd399bec
| wc 50015 134879 2016086 Also add some organization and explanatory comments to this file, following what we have in zulip-mobile:.gitattributes .
This commit is contained in:
parent
e1796b0c8f
commit
d71702c9fc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue