How to list files in specific revision in `git`?

I want to know file list in specific revision in git repository. How can I do this?

Answers


See dannyp's answer.

 git ls-tree -r --name-only $REV

git ls-tree -r --name-only $REV

for example

git ls-tree -r --name-only a27689bf7f46dc0735c5b3b6076010c87224063e

Need Your Help

gradle build fails on lint task

android gradle android-gradle

I have a simple android project that I created with Android Studio 0.4.0.

Libraries not found when using CocoaPods with iOS logic tests

ios unit-testing cocoapods

I am trying to write some iOS logic tests against classes in my project that use functionality from some of the libraries in my podspec. I am using the standard unit test bundle provided in Xcode (