66bf311168
Original code used readline() when file was in binary mode; this works only if file contains '\n', true only for CRLF and LF line endings. Switched to file text mode with correct encoding and universal newline support.
14 lines
472 B
Plaintext
14 lines
472 B
Plaintext
# Make Github recognise Gramps as a Python project,
|
|
# by marking .sql files as text files!
|
|
# See: https://github.com/github/linguist/issues/2462
|
|
# https://github.com/github/linguist/blob/master/README.md
|
|
*.sql linguist-language=txt
|
|
|
|
# Have Github ignore js vendored files.
|
|
# https://github.com/gramps-project/gramps/tree/master/data/javascript
|
|
#data/javascript/*.js linguist-vendored
|
|
|
|
# don't mess with line endings for Gedcom files
|
|
*.ged binary
|
|
*.GED binary
|