Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix .gitattributes not hiding diffs for Animated Java export files on old PRs #72

Merged
merged 4 commits into from
Jan 27, 2024

Conversation

TheAfroOfDoom
Copy link
Owner

@TheAfroOfDoom TheAfroOfDoom commented Jan 27, 2024

Summary

#71 attempted to add all the AJ export files to .gitattributes as linguist-generated so old PR file diffs would be more useful to look at (and actually render important, non-AJ-export files)

We got the syntax wrong though and forgot to add /** for directories. This PR fixes that.

It also fixes the datapacks/mathf missing the same syntax so GitHub excludes that mathf datapack library from repo stats.

Lastly we also make .ajmodels render with JSON highlighting.


Test plan

tested by manually uploading files to old AJ export paths and making sure GitHub didn't render their diffs (see Preview section below)

Reproducing in-game

N/A

Preview

image
.ajmodel before .ajmodel after
image image

Supplemental changes

N/A

@TheAfroOfDoom TheAfroOfDoom merged commit bb659bf into main Jan 27, 2024
5 checks passed
@TheAfroOfDoom TheAfroOfDoom deleted the fix-animated-java-linguist-generated branch January 27, 2024 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant