chickadee » git » string->oid

string->oid stringprocedure

Creates an oid from the given string, which should be a 40-character SHA1 hash. An error is signaled if the string is not a valid hash.