use git ls-files where possible