MCPcopy Index your code
hub / github.com/git/git / die_errno

Function die_errno

usage.c:239–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void NORETURN die_errno(const char *fmt, ...)
240{
241 char buf[1024];
242 va_list params;
243
244 if (die_is_recursing()) {
245 fputs("fatal: recursion detected in die_errno handler\n",
246 stderr);
247 exit(128);
248 }
249
250 va_start(params, fmt);
251 die_routine(fmt_with_err(buf, sizeof(buf), fmt), params);
252 va_end(params);
253}
254
255#undef die_message
256int die_message(const char *err, ...)

Callers 15

check_filenameFunction · 0.85
get_common_dir_noenvFunction · 0.85
read_gitfile_error_dieFunction · 0.85
setup_explicit_git_dirFunction · 0.85
setup_discovered_git_dirFunction · 0.85
setup_bare_git_dirFunction · 0.85
get_device_or_dieFunction · 0.85
daemonizeFunction · 0.85
copy_templates_1Function · 0.85
separate_git_dirFunction · 0.85
send_requestFunction · 0.85

Calls 1

fmt_with_errFunction · 0.85

Tested by 14

pack_raw_stdinFunction · 0.68
cmd__deltaFunction · 0.68
cmd__hexdumpFunction · 0.68
test_stdin_pipe_feedFunction · 0.68
cmd__truncateFunction · 0.68
cmd__rot13_filterFunction · 0.68
cmd__xml_encodeFunction · 0.68
cmd_hash_implFunction · 0.68
do_zlibFunction · 0.68
cmd__genzerosFunction · 0.68
cmd__path_utilsFunction · 0.68
generate_fast_packFunction · 0.68