View a specific Git commit [duplicate]


Possible Duplicate:
Get Information about a SHA-1 commit object?

I needed to check when a specific change was added to a file I'm working on, so I used the git blame command. From that I obtained the hash of the relevant commit. Is there a way to see the log notes of just that commit, using the hash? All the docs talk about how to look at the whole tree.

I realize could just do git log <filename>, but there are a lot of commits for the file, and I'm loathe to go through all of them looking for this one. A simple way to view the log notes would be appreciated.


git show <revhash>

Documentation here. Or if that doesn't work, try Google Code's Git Documentation

Git: cannot checkout branch - error: pathspec '...' did not match any file(s) known to git

fatal: early EOF fatal: index-pack failed