Fix bug where new staged files don't show up in git status
Fix bug where new staged files don't show up in git status

A hack added to make ls-files not directory sensitive was breaking
the call to diff-index --cached in the status subcommand.

This makes the hack slightly more specific, so that newly staged
files get displayed in status.

driusan/dgit,driusan/dgit