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

Function odb_has_alternates

odb.c:504–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504int odb_has_alternates(struct object_database *odb)
505{
506 odb_prepare_alternates(odb);
507 return !!odb->sources->next;
508}
509
510int obj_read_use_lock = 0;
511pthread_mutex_t obj_read_mutex;

Callers 1

cmd_repackFunction · 0.85

Calls 1

odb_prepare_alternatesFunction · 0.85

Tested by

no test coverage detected