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

Function refspec_appendf

refspec.c:215–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void refspec_appendf(struct refspec *rs, const char *fmt, ...)
216{
217 va_list ap;
218 char *buf;
219
220 va_start(ap, fmt);
221 buf = xstrvfmt(fmt, ap);
222 va_end(ap);
223
224 refspec_append(rs, buf);
225 free(buf);
226}
227
228void refspec_appendn(struct refspec *rs, const char **refspecs, int nr)
229{

Callers 6

read_branches_fileFunction · 0.85
refspec_append_mappedFunction · 0.85
set_refspecsFunction · 0.85
fetch_oneFunction · 0.85
cmd_cloneFunction · 0.85

Calls 2

xstrvfmtFunction · 0.85
refspec_appendFunction · 0.85

Tested by

no test coverage detected