Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ strvec_push
Function
strvec_push
strvec.c:23–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
const char *strvec_push(struct strvec *array, const char *value)
24
{
25
strvec_push_nodup(array, xstrdup(value));
26
return array->v[array->nr - 1];
27
}
28
29
const char *strvec_pushf(struct strvec *array, const char *fmt, ...)
30
{
Callers
15
pack_geometry_repack_promisors
Function · 0.85
get_pack
Function · 0.85
do_fetch_pack_v2
Function · 0.85
path_msg
Function · 0.85
describe_atom_option_parser
Function · 0.85
grab_describe_values
Function · 0.85
credential_read
Function · 0.85
run_credential_helper
Function · 0.85
create_pack_file
Function · 0.85
send_shallow_list
Function · 0.85
write_tar_filter_archive
Function · 0.85
parse_pathspec_from_ranges
Function · 0.85
Calls
2
strvec_push_nodup
Function · 0.85
xstrdup
Function · 0.85
Tested by
12
parse_pathspec_file
Function · 0.68
test_strvec__clear
Function · 0.68
test_strvec__push
Function · 0.68
test_strvec__detach
Function · 0.68
cmd_main
Function · 0.68
daemon__start_server
Function · 0.68
cmd_main
Function · 0.68
next_test
Function · 0.68
quote_stress_test
Function · 0.68
cmd__run_command
Function · 0.68
ut_301redact_child_start
Function · 0.68
ut_400ancestry
Function · 0.68