git show --name-only <sha1>
# if we don't want the info to the commit with it
git show --pretty="" --name-only b5b01b7
$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js
$ git show --pretty="" --name-only bd61ad98
index.html
javascript/application.js
javascript/ie6.js