Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Theresa Gresch 2020-05-04 10:37:18 +02:00
commit a2310fb6c6
2 changed files with 3 additions and 1 deletions

View file

@ -84,7 +84,7 @@ func (l *IgnoreList) AppendItems(dir string, patterns []string) error {
}
for _, pattern := range patterns {
if pattern != "" {
if pattern != "" && !strings.HasPrefix(pattern, "#") {
l.items = append(l.items, NewIgnoreItem(dir, pattern, l.caseSensitive))
}
}

View file

@ -1,4 +1,6 @@
*.txt
test.md
# This is a comment
somefile.*
baz*