Skip to content

Commit aeb3846

Browse files
committed
.gitattributes: mark '*.html' as diff=html
Mark HTML files as such with the 'diff' attribute, so that the appropriate '<h[1-9]>' title is shown in the hunk header in diffs.
1 parent e90de4d commit aeb3846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.gitattributes eol=lf
2-
*.html eol=lf
2+
*.html eol=lf diff=html
33
*.svg eol=lf
44
*.png binary

0 commit comments

Comments
 (0)