Update .gitattributes

Declare CMake scripts, Windows resource scripts and manifests,
.po translation files and Qt XML files as text
This commit is contained in:
Alexander Babikov 2024-05-03 01:58:32 +05:00
parent 1bfa4fae0a
commit 15b3c44cb7
No known key found for this signature in database
GPG key ID: 1FD93764F31AAF86

16
.gitattributes vendored
View file

@ -3,12 +3,28 @@
# Explicitly declare text files you want to always be normalized and converted # Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout. # to native line endings on checkout.
# Code
*.c text *.c text
*.cc text *.cc text
*.cpp text *.cpp text
*.h text *.h text
*.hpp text *.hpp text
# CMake scripts
CMakeLists.txt text
*.cmake text
# Windows resource scripts and manifests
*.rc text *.rc text
*.manifest text
# Translation files
*.po text
# Qt XML files
*.ui text
*.ts text
*.qrc text
# Declare files that will always have CRLF line endings on checkout. # Declare files that will always have CRLF line endings on checkout.