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

Function say

builtin/am.c:255–266  ·  view source on GitHub ↗

* If state->quiet is false, calls fprintf(fp, fmt, ...), and appends a newline * at the end. */

Source from the content-addressed store, hash-verified

253 * at the end.
254 */
255__attribute__((format (printf, 3, 4)))
256static void say(const struct am_state *state, FILE *fp, const char *fmt, ...)
257{
258 va_list ap;
259
260 va_start(ap, fmt);
261 if (!state->quiet) {
262 vfprintf(fp, fmt, ap);
263 putc('\n', fp);
264 }
265 va_end(ap);
266}
267
268/**
269 * Returns 1 if there is an am session in progress, 0 otherwise.

Callers 6

decode_85Function · 0.85
encode_85Function · 0.85
fall_back_threewayFunction · 0.85
do_commitFunction · 0.85
am_runFunction · 0.85
am_resolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected