List of changed files
How to get list of changed files in a particular changeset? I expected it to be
开发者_StackOverflowgit diff --name-only a329a7b3b85a2f23d2cc2b6c897dc30fb25fa6a5
for changes made by me in a329a7b3b85a2f23d2cc2b6c897dc30fb25fa6a5
, BUT it returns the changes made in the revision that follows right after mine. So I need to find the id of previous changeset :-S
Is it expected behaviour? Why is it?!
You want
$ git show --oneline --name-only sha
or perhaps
$ git show --format=format: --name-only sha
精彩评论