-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.gitattributes
More file actions
19 lines (17 loc) · 999 Bytes
/
Copy path.gitattributes
File metadata and controls
19 lines (17 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This project is Windows-only (Win64 debugger, Delphi toolchain, .bat scripts).
# Every text file is checked out with CRLF, so an editor or a generated file
# cannot silently introduce LF endings that later show up as whole-file diffs.
#
# No binary rules are needed for most of the tree: build output (*.exe, *.dll,
# *.bpl, *.dcp, *.dcu, *.res, *.rsm, *.map, *.tds, *.jdbg, *.idx) is all covered
# by .gitignore, and "text=auto" detects binary content on its own for anything
# that slips through.
* text=auto eol=crlf
# Git hooks are run by Git's own POSIX shell, which chokes on a CR at the end of
# a line (`#!/bin/sh\r` is not an interpreter). They are the one part of this
# Windows-only tree that must stay LF.
githooks/* text eol=lf
# The Zydis disassembler DLL is a deliberate exception to "build output stays
# ignored" (ThirdParty/Zydis/PROVENANCE.md) — it is committed so normal builds
# stay Delphi-only. Mark it explicitly binary so eol=crlf above never touches it.
*.dll binary