From 15b3c44cb7cbe002dd83e507f41292ee451bcbe6 Mon Sep 17 00:00:00 2001 From: Alexander Babikov Date: Fri, 3 May 2024 01:58:32 +0500 Subject: [PATCH] Update .gitattributes Declare CMake scripts, Windows resource scripts and manifests, .po translation files and Qt XML files as text --- .gitattributes | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitattributes b/.gitattributes index 32eb262c9..9b39a29c0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,12 +3,28 @@ # Explicitly declare text files you want to always be normalized and converted # to native line endings on checkout. +# Code *.c text *.cc text *.cpp text *.h text *.hpp text + +# CMake scripts +CMakeLists.txt text +*.cmake text + +# Windows resource scripts and manifests *.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.