mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2026-09-16 18:12:54 +00:00
ACS-12413 : enable deferred pre-commit hooks and normalize repo (#1333)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
parent
eeabc8b858
commit
5b03dc315e
@@ -0,0 +1,21 @@
|
||||
# Normalize line endings: Git stores text as LF and checks out LF on every platform.
|
||||
# Enforcing eol=lf keeps the working tree consistent and makes tools that honour
|
||||
# git attributes (e.g. Spotless) emit LF, so the mixed-line-ending hook stays stable.
|
||||
* text=auto eol=lf
|
||||
|
||||
# Windows batch files must stay CRLF.
|
||||
*.bat text eol=crlf
|
||||
*.cmd text eol=crlf
|
||||
|
||||
# Byte-exact test fixtures: never normalize (mirrors the pre-commit excludes).
|
||||
**/src/test/resources/** -text
|
||||
|
||||
# Binary assets / test fixtures — never normalize or diff as text.
|
||||
*.key binary
|
||||
*.z binary
|
||||
*.gz binary
|
||||
*.jar binary
|
||||
*.vsd binary
|
||||
*.vdx binary
|
||||
*.xbm binary
|
||||
*.xpm binary
|
||||
Reference in New Issue
Block a user