We are looking for a way to access the hashes of individual files within a commit. Normally we do this via command line with:
git ls-files -s <insertFileHere>
I assume that Bitbucket would be the place for this functionality, but wouldn't be surprised if it was in Fisheye instead.
Thanks
EDIT: after some searching I think git hash-object is really what I'm after; ls-files just shows this information.
"git diff-tree -r commit_hash" will give you the hashes. It's already been hashed and stored, so no need to run hash-object again.
It's kind of low-level information, I don't see why it would be generally useful. AFAIK neither show it. Why do you want it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.