1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Mark data/themes.json as a binary file

This adds a .gitattributes file that marks data/themes.json as binary.
data/themes.json stores all it's data on a single line, and that entire
line
is marked as changed between commits. By marking it as binary, git
displays diffs more accurately.

NB: As an alternative to marking it as binary, we could also modify
tools/generate.sh so that it doesn't generate the entire file on one
line. This can be done by removing the `tr -d " \t\n\r"` portion of the
script. Doing so would ensure that git only stored the sections of the
themes.json file that changed when a theme was modified or added.

Signed-off-by: Alecto Irene Perez <perez.cs@pm.me>
This commit is contained in:
Alecto Irene Perez 2021-11-01 17:28:20 -06:00
parent 769b681828
commit 8332969b10
No known key found for this signature in database
GPG Key ID: 7F67C72ED1182321

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
data/themes.json binary