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

Function parse_count

revision.c:2277–2284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2275}
2276
2277static int parse_count(const char *arg)
2278{
2279 int count;
2280
2281 if (strtol_i(arg, 10, &count) < 0)
2282 die("'%s': not an integer", arg);
2283 return count;
2284}
2285
2286static timestamp_t parse_age(const char *arg)
2287{

Callers 1

handle_revision_optFunction · 0.85

Calls 2

strtol_iFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected