Various style fixes

This commit is contained in:
Jakob Borg committed 2014-12-08 16:36:15 +01:00
1 parent 12d69e25dd
commit 9d07aa006d
13 files changed
+78 -82

No files matched your search

+1 -2
View File
@@ -169,9 +169,8 @@ func parseIgnoreFile(fd io.Reader, currentFile string, seen map[string]bool) (*M
includes, err := loadIgnoreFile(includeFile, seen)
if err != nil {
return err
} else {
exps.patterns = append(exps.patterns, includes.patterns...)
}
exps.patterns = append(exps.patterns, includes.patterns...)
} else {
// Path name or pattern, add it so it matches files both in
// current directory and subdirs.