used hashlib in zmake to enable --branch-only