From: Neal Kreitzinger <nkreitzinger@gmail.com>
To: git@vger.kernel.org
Subject: how to determine version of binary
Date: Sat, 05 May 2012 02:12:44 -0500 [thread overview]
Message-ID: <jo2jtd$m6c$1@dough.gmane.org> (raw)
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
next reply other threads:[~2012-05-05 7:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-05 7:12 Neal Kreitzinger [this message]
2012-05-05 9:24 ` how to determine version of binary Jeff King
2012-05-05 16:18 ` Neal Kreitzinger
2012-05-06 12:43 ` Jeff King
2012-05-05 11:43 ` Sitaram Chamarty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jo2jtd$m6c$1@dough.gmane.org' \
--to=nkreitzinger@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).