Skip to content

Commit

Permalink
.gitattributes: the diff hunks and an experiment on linguist-detectable
Browse files Browse the repository at this point in the history
Maybe I don't actually need to keep repeating eol=lf?
  • Loading branch information
Mikaela committed Oct 15, 2023
1 parent bf0d36c commit c1bf84e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
# Line normalisation, GitHub language detection
* text=auto eol=lf linguist-detectable

# Integrated diff hunks, also an experiment will these remove linguist-detectable?
*.css text diff=css eol=lf
*.html text diff=html eol=lf
*.{md,markdown} text diff=markdown eol=lf
*.php text diff=php eol=lf

# These don't feel like mine
.github/** text=auto -linguist-detectable
css/** text=auto -linguist-detectable
Expand Down

0 comments on commit c1bf84e

Please sign in to comment.