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

Function trace_argv_vprintf_fl

trace.c:161–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161static void trace_argv_vprintf_fl(const char *file, int line,
162 const char **argv, const char *format,
163 va_list ap)
164{
165 struct strbuf buf = STRBUF_INIT;
166
167 if (!prepare_trace_line(file, line, &trace_default_key, &buf))
168 return;
169
170 strbuf_vaddf(&buf, format, ap);
171
172 sq_quote_argv_pretty(&buf, argv);
173 print_trace_line(&trace_default_key, &buf);
174 strbuf_release(&buf);
175}
176
177void trace_strbuf_fl(const char *file, int line, struct trace_key *key,
178 const struct strbuf *data)

Callers 1

trace_argv_printf_flFunction · 0.85

Calls 5

prepare_trace_lineFunction · 0.85
strbuf_vaddfFunction · 0.85
sq_quote_argv_prettyFunction · 0.85
print_trace_lineFunction · 0.85
strbuf_releaseFunction · 0.85

Tested by

no test coverage detected