Use git-ls-tree instead of git-ls-files.

Git is not helping us. It was ignoring the commit version as ls-tree
is really /only/ about reading the index/staging area. ls-tree is
slower but gives us the right results (instead of constantly giving us
the current index).