]> Cypherpunks repositories - gostls13.git/commit
cmd/go: use pattern to prune file tree walk
authorRuss Cox <rsc@golang.org>
Wed, 11 Sep 2013 13:57:05 +0000 (09:57 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 11 Sep 2013 13:57:05 +0000 (09:57 -0400)
commite6a49555a723e176dbcc45ca9201006575fd3e56
treebc64100525f8ee348c46b62e8a2819228a71c16b
parent08b26e41043281fd85e4af6ac0c6e790f3336a82
cmd/go: use pattern to prune file tree walk

For example, if the pattern is m... there is
no need to look in directories not beginning with m.

Fixes #5214.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/13253049
src/cmd/go/main.go
src/cmd/go/match_test.go
src/cmd/go/test.bash
src/cmd/go/testdata/src/badpkg/x.go [new file with mode: 0644]