mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-07 15:55:00 +00:00

* Update Git Attributes for `*.graphite` Adds syntax highlighting on GitHub and treats the files as generated/binary. * Mark test Graphite files as *not* generated
10 lines
595 B
Text
10 lines
595 B
Text
# Requires Git to check out files with the LF (not CRLF) line endings for files it automatically recognizes as being text-based
|
|
# The `*` targets all files
|
|
# The `text=auto` makes it apply a conversion only to files detected as text-based
|
|
# The `eol=lf` sets the conversion to an LF line ending
|
|
# https://git-scm.com/docs/gitattributes
|
|
* text=auto eol=lf
|
|
|
|
# Adds syntax highlighting to Graphite files on GitHub and minimizes diffs both locally and on GitHub
|
|
*.graphite binary linguist-generated linguist-language=JSON
|
|
/node-graph/graphene-cli/test_files/*.graphite text diff -linguist-generated
|