Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
54 lines (46 loc) · 1.97 KB
/
Copy path.gitattributes
File metadata and controls
54 lines (46 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Zeilenenden und Dateitypen verbindlich festlegen.
#
# Ohne diese Datei haengt es an core.autocrlf des jeweiligen Clones, ob eine
# Datei im Arbeitsverzeichnis CRLF oder LF bekommt. Das erzeugt Diffs, die
# niemand geschrieben hat. Im Repository liegt alles als LF; was im
# Arbeitsverzeichnis ankommt, steht hier.
# Standard: Git erkennt Text selbst und speichert ihn als LF
* text=auto
# --- Windows-Werkzeuge: CRLF im Arbeitsverzeichnis --------------------------
# PowerShell und die Windows-Kommandozeile kommen mit LF zwar zurecht, aber
# Notepad, der ISE-Editor und diverse aeltere Werkzeuge nicht.
*.ps1 text eol=crlf
*.psm1 text eol=crlf
*.psd1 text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.xml text eol=crlf
# --- Unix-Werkzeuge: LF ist Pflicht -----------------------------------------
# Ein Git-Hook mit CRLF scheitert unter Windows an "bad interpreter".
*.sh text eol=lf
.githooks/* text eol=lf
# --- Reiner Text ------------------------------------------------------------
*.md text
*.txt text
*.json text
*.csv text
*.py text eol=lf
# --- Binaerdateien: nie konvertieren, nie diffen ----------------------------
*.png binary
*.ico binary
*.jpg binary
*.bin binary
*.lnk binary
*.pdf binary
*.xlsx binary
# MS.PS.Lib.psd1 liegt als UTF-16 LE vor. Git wuerde die Datei sonst als Text
# behandeln, die Zeilenenden umschreiben und sie damit unbrauchbar machen.
third-party/MailStore-PowerShell-API-Wrapper/api-wrapper/MS.PS.Lib.psd1 binary
# Aufgabenplanungs-XML (Windows-Export) liegt als UTF-16 LE mit BOM vor; die
# allgemeine *.xml-Regel oben wuerde sie auf CRLF umschreiben und damit
# beschaedigen (K2).
scripts/windows/shadow-copy/Snapshot_C_Täglich.xml binary
scripts/windows/shadow-copy/Wiederherstellungspunkt_C_Täglich.xml binary
# --- GitHub-Statistik -------------------------------------------------------
# Fremdcode nicht in die Sprachstatistik des Repos einrechnen
third-party/** linguist-vendored