rust-lang/cargo — pull request #563 by mbrubeck (2014-09-11 21:11:44+00:00)
Title: Don't use list_files_git if pkg isn't a git repo

`list_files_git` assumes that the package is at the root of the git repository. This breaks when trying to list files for a package in a subdirectory of a repo, or in other cases, e.g. if the user's home directory is a git repo.