Skip to main content

ZERO_OID

Constant ZERO_OID 

Source
pub const ZERO_OID: &str = "0000000000000000000000000000000000000000";
Expand description

The all-zeros object id git uses to mean “this ref does not yet exist”.

Passed as the expected old value to a checked ref update to assert the ref must be created (must not already exist).