Expand paths for checking out files
Expand paths for checking out files

Expand paths with ls-tree so that `git checkout -- paths` will work
if path is a directory or a glob, and doesn't need to match and exact
file.

driusan/dgit,driusan/dgit