]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix vendoredImportPath comment
authorDavid Glasser <glasser@meteor.com>
Wed, 19 Aug 2015 17:38:54 +0000 (10:38 -0700)
committerAndrew Gerrand <adg@golang.org>
Thu, 20 Aug 2015 08:38:38 +0000 (08:38 +0000)
Change-Id: I1650124dd459dc401ccd73943ff7287b1b8c57e4
Reviewed-on: https://go-review.googlesource.com/13689
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/go/pkg.go

index 61e3d8dc702ca06f31e778b900c344fb7f18fa7f..1171d207b974e8ff5d03de413036f2df014e1a17 100644 (file)
@@ -406,7 +406,7 @@ func isDir(path string) bool {
 
 // vendoredImportPath returns the expansion of path when it appears in parent.
 // If parent is x/y/z, then path might expand to x/y/z/vendor/path, x/y/vendor/path,
-// x/vendor/path, vendor/path, or else stay x/y/z if none of those exist.
+// x/vendor/path, vendor/path, or else stay path if none of those exist.
 // vendoredImportPath returns the expanded path or, if no expansion is found, the original.
 // If no expansion is found, vendoredImportPath also returns a list of vendor directories
 // it searched along the way, to help prepare a useful error message should path turn