forked from harvard-edge/cs249r_book
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
28 lines (25 loc) · 1.32 KB
/
Copy path.gitattributes
File metadata and controls
28 lines (25 loc) · 1.32 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
# =============================================================================
# .gitattributes — text/binary handling
# =============================================================================
#
# Git LFS is no longer used in this repo. The previous "going-forward" LFS
# rules created phantom-modification noise on every PDF/MP3 that was committed
# before the rules were added (the LFS clean filter would produce a 133-byte
# pointer in memory that never matched the raw blob in HEAD), and pre-commit's
# stash mechanism crashed on those phantom-dirty binaries. The set of files
# actually backed by LFS was small (11 paper figures totalling ~540 KB) and
# the figures are derivable from SVG sources. The 11 historical LFS pointers
# were converted to raw blobs in this commit; future binaries go straight
# into git.
# -----------------------------------------------------------------------------
# Text-handling normalization
# -----------------------------------------------------------------------------
# Tell git to auto-normalize line endings on text files. Binary patterns
# above already opt out via `-text`.
* text=auto eol=lf
# Shell scripts and Makefiles must keep LF on Windows checkouts.
*.sh text eol=lf
Makefile text eol=lf
# Avoid CRLF translation for Windows-native batch files.
*.bat text eol=crlf
*.cmd text eol=crlf