replace `git status` by `git ls-files ...` to avoid touching .git

as far as I can tell this fixes #97