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

Function read_pathspec_from_stdin

revision.c:2255–2260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2253}
2254
2255static void read_pathspec_from_stdin(struct strbuf *sb,
2256 struct strvec *prune)
2257{
2258 while (strbuf_getline(sb, stdin) != EOF)
2259 strvec_push(prune, sb->buf);
2260}
2261
2262static void add_grep(struct rev_info *revs, const char *ptn, enum grep_pat_token what)
2263{

Callers 1

Calls 2

strbuf_getlineFunction · 0.85
strvec_pushFunction · 0.85

Tested by

no test coverage detected