Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ have_git_dir
Function
have_git_dir
environment.c:137–141 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
135
}
136
137
int have_git_dir(void)
138
{
139
return startup_info->have_repository
140
|| the_repository->gitdir;
141
}
142
143
const char *get_git_namespace(void)
144
{
Callers
5
parse_ref_filter_atom
Function · 0.85
init_pathspec_item
Function · 0.85
remotes_remote_get_1
Function · 0.85
userdiff_get_textconv
Function · 0.85
get_helper
Function · 0.85
Calls
no outgoing calls
Tested by
1
init_pathspec_item
Function · 0.68