Initialize .gitattributes for doc

.gitattributes instructs git custom diff handling which helps the
readability of git diff in development. This is especially useful for
binary files such as images, as it prevents git from printing
meaningless diffs.

Differential Revision:	https://reviews.freebsd.org/D43082
This commit is contained in:
Minsoo Choo 2025-06-12 11:44:51 -04:00 committed by Li-Wen Hsu
parent 1e2c867752
commit e731a7cdf1
No known key found for this signature in database
GPG Key ID: 7377A4A02A2954DD
1 changed files with 9 additions and 0 deletions

9
.gitattributes vendored Normal file
View File

@ -0,0 +1,9 @@
*.css diff=css
*.html diff=html
*.pl diff=perl
*.rb diff=ruby
# Images are binary files
*.ico binary
*.jpg binary
*.png binary