how to determine version of binary
- From
- Neal Kreitzinger <nkreitzinger@gmail.com>
- Date
- May 5, 2012, 07:12 UTC
- Message-ID
- <jo2jtd$m6c$1@dough.gmane.org>
Scenario: I detect a binary file that is 'dirty'. I don't know how it got there. However, I know it came from a git repo. So I calculate the sha1 of the binary. What is the git command to determine which commit that binary version first appeared in? And the last commit that binary appeared in?
Why: we have people ftp'ing binaries around. I want to see the commit message and source change of that commit to see what the binary version is.
v/r, neal