commit | 03663480faa767e684bf17d7c45c65f79d7f5ef3 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Wed Oct 05 14:42:45 2016 -0400 |
committer | Alan Donovan <adonovan@google.com> | Wed Oct 05 19:34:25 2016 +0000 |
tree | 9d62ad8d4e314b96f3f5ab62de2b2c0834622396 | |
parent | 27f88d9b7a2f740ca09706d3579bfed0afe4c2a9 [diff] |
go/buildutil: ExpandPatterns: ignore a trailing slash in a pattern Previously, a trailing slash would cause "foo/" to be treated as the name of a package, with comical results. Fixed golang/go#14584 Change-Id: I660f8a079bbd63d3645812e516a9264c8e080e61 Reviewed-on: https://go-review.googlesource.com/30452 Reviewed-by: Robert Griesemer <gri@golang.org>