Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
504
int odb_has_alternates(struct object_database *odb)
505
{
506
odb_prepare_alternates(odb);
507
return !!odb->sources->next;
508
}
509
510
int obj_read_use_lock = 0;
511
pthread_mutex_t obj_read_mutex;
Callers
1
cmd_repack
Function · 0.85
Calls
1
odb_prepare_alternates
Function · 0.85
Tested by
no test coverage detected