List all files in a git commit
In the afternoon I needed to list all files in a single git commit. I used the following porcelain command (meant to be user-facing):
git show --pretty="" \
--name-only eeddcc94
What also works is the following plumbing command (meant to be programmatic):
git diff-tree --no-commit-id \
--name-only -r eeddcc94