Caleb Cushing <xenoterracide@xxxxxxxxx> writes: > I need to check the hashes of specific files in the repo in an > automated fashion, in another tool. What "hash" are you talking about? sha1? md5? crc? I *think* you are trying to say that gentoo has a tool to compute some sort of hash for regular files in their source tree by: "gentoo's portage tree has manifests for each file" but without knowing what kind of hash they use, I cannot tell you if you can reuse some part of git to compute their hash without using their tools (it also is unclear why you are not using their tool to compute their hash and instead are expecting git to know about the specific hash function used by them). For exammple, "sha1sum Makefile" would give you the SHA-1 checksum of the contents of the Makefile. Is that what gentoo's tools expect? If that is the case, that is different from the blob object name git will give to the contents of that Makefile, so you cannot reuse much of git. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html