Jakub Narebski wrote: > True. So _read_ based on actually reading the files is out. > git_get_hash_by_ref, git_get_HEAD_hash (or just git_get_ref, git_get_head) Or git_get_hash, git_get_head_hash -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - : 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