tools/godep — pull request #157 by kr (2014-12-11 10:36:46+00:00)
Title: strip import comments

Go 1.4 allows packages to specify a "canonical" import
path with a comment of the form
package foo // import "bar/foo"
If the package is imported from a path other than
"bar/foo", the go tool will reject it. We circumvent
this check by removing such comments, so that
dependencies can be imported from their rewritten import
paths inside Godeps/_workspace.

See also http://golang.org/s/go14customimport.