MCPcopy Create free account
hub / github.com/git/git / ref_update_has_null_new_value

Function ref_update_has_null_new_value

refs.c:3144–3147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3142}
3143
3144int ref_update_has_null_new_value(struct ref_update *update)
3145{
3146 return !update->new_target && is_null_oid(&update->new_oid);
3147}
3148
3149enum ref_transaction_error ref_update_check_old_target(const char *referent,
3150 struct ref_update *update,

Callers 3

prepare_single_updateFunction · 0.85
write_transaction_tableFunction · 0.85
lock_ref_for_updateFunction · 0.85

Calls 1

is_null_oidFunction · 0.85

Tested by

no test coverage detected