List all files in a commit
git diff-tree --no-commit-id --name-only -r HASH
or
git show --pretty="" --name-only HASH
For a full explanation see this posting
git diff-tree --no-commit-id --name-only -r HASH
or
git show --pretty="" --name-only HASH
For a full explanation see this posting