diff options
Diffstat (limited to 'plumbing/format/gitattributes')
-rw-r--r-- | plumbing/format/gitattributes/pattern.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/format/gitattributes/pattern.go b/plumbing/format/gitattributes/pattern.go index c5ca0c7..d961aba 100644 --- a/plumbing/format/gitattributes/pattern.go +++ b/plumbing/format/gitattributes/pattern.go @@ -66,7 +66,7 @@ func (p *pattern) Match(path []string) bool { doublestar = true } - switch true { + switch { case strings.Contains(pattern[0], "**"): return false |