Skip to content

Commit ad1dad1

Browse files
gmarullnashif
authored andcommitted
gitattributes: consider SVG files generated
SVG files are usually created or generated using editors, e.g. Inkscape. Exclude them from stats/diffs to improve review process by marking them as generated. Ref. https://github.com/github/linguist/blob/master/docs/overrides.md Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
1 parent 4addbe4 commit ad1dad1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.gitattributes

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
.gitignore export-ignore
55
.mailmap export-ignore
66

7+
# Tell git to not diff certain files
8+
*.svg -diff
9+
710
# Tell linguist that generated test pattern files should not be included in the
811
# language statistics.
9-
*.pat linguist-generated=true
12+
*.pat linguist-generated
13+
*.svg linguist-generated

0 commit comments

Comments
 (0)