I need to check the hashes of specific files in the repo in an automated fashion, in another tool. to be less vague currently gentoo's portage tree has manifests for each file in the tree, on funtoo and regen2 (forks) we've imported the tree into git. Git has all the manifesting that's needed (most of it, still doesn't help with files outside the tree) in it. I'd like to be able to remove manifests from the tree, however I still want to check that the ebuilds (package format) are consistent at run time. Checking the entire tree is not sane. I figure the best way to do this is to first check stat against the index, then, if that passes check the sha1, if that passes continue to the next step. I don't want to do anything like determine the output of a git command in my code, I'd rather check to see if the check passed or failed using return codes or some such. If it is capable of checking these but would require me to parse output I'd still like to know, as it may let me get the fix in faster, and I can do better later. I know git may not be currently capable of this behavior, which means I should extend it, or even write a new program to deal with it. If this is the case, is there any documentation on how git does this? aside from the source? could someone point me in the general direction of source files I should be looking at? maybe even specific functions? any help with this endeavor of any kind would be appreciated as the manifests 'cause the repo to balloon, not to mention are just a pain to manage as they can't actually be merged. -- Caleb Cushing http://xenoterracide.blogspot.com -- 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