Skip to content

Commit

Permalink
Make GH treat snapshot outputs as generated files (vercel#308)
Browse files Browse the repository at this point in the history
The snapshot outputs are a little noisy whenever we change runtime files. This will have GH collapse the file by default
when viewing the PR diffs, so that it's easier to focus on the real changes.

https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
  • Loading branch information
jridgewell authored Sep 1, 2022
1 parent 7964bd6 commit 71d5cd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
crates/turbopack/tests/snapshot/*/output/ linguist-generated=true

0 comments on commit 71d5cd2

Please sign in to comment.