tools/godep — pull request #107 by kr (2014-08-07 17:08:45+00:00)
Title: don't require listed packages to be in VCS

To avoid copying dependencies unnecessarily, we try to
find the root of the VCS repo for each package in the
root set, and mark the import path of the entire repo as
"seen". This means for a repo at path C, if package C/S
imports C/T, we do not want to copy C/T into C/S/Godeps.
This behavior was already present, but now we have a
test for it.

However, some packages aren't in a repo at all, or the
root of the repo is outside the GOPATH src tree. In that
case, we just mark the import path of that package
itself as "seen".