rust-lang/cargo — pull request #947 by alexcrichton (2014-11-21 20:33:57+00:00)
Title: Clean up code around the crawling of a directory

The logic for "not recursing into `target`" was pretty hokey and needed
replacement. This commit also unfies the paths a bit to ensure that the main
loop is the same part that adds the root package itself.

This reorganization ends up closing #937