ZaStoGram_desktop/.gitattributes
loop-uh 9a00f0a470 Merge upstream Telegram Desktop v7.4.6
Слияние сделал модуль upstream-sync: 4f0d56441f (v7.4.6).
Конфликты разбирал ИИ: да.
2026-11-23 15:00:10 +00:00

22 lines
971 B
Text

# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Ensure diffs have LF endings. This covers *.patch too: the qtbase patches under
# Telegram/build/patches_extra are applied by prepare.py to freshly cloned Qt sources,
# which are LF. Checked out with CRLF under `* text=auto`, they stop matching their
# own context and git apply fails with "patch does not apply".
*.diff text eol=lf
*.patch text eol=lf
*.bat text eol=crlf
tools/rules/laws/fixtures/**/*.cpp -text whitespace=cr-at-eol
tools/rules/laws/fixtures/closer-mixed-indent/*.cpp whitespace=cr-at-eol,-space-before-tab
tools/rules/laws/fixtures/closer-staged-argument/*.cpp whitespace=cr-at-eol,-space-before-tab
# Keep the zxcvbn word lists byte-identical to upstream so their digests hold
Telegram/Resources/zxcvbn/*.txt text eol=lf
# Ensure lottie animations are treated as binary files
*.lottie binary
# Raw float tables, such as the 3D diamond model data
*.bin binary