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

Function process_deepen

upload-pack.c:976–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

974}
975
976static int process_deepen(const char *line, int *depth)
977{
978 const char *arg;
979 if (skip_prefix(line, "deepen ", &arg)) {
980 char *end = NULL;
981 *depth = (int)strtol(arg, &end, 0);
982 if (!end || *end || *depth <= 0)
983 die("Invalid deepen: %s", line);
984 return 1;
985 }
986
987 return 0;
988}
989
990static int process_deepen_since(const char *line, timestamp_t *deepen_since, int *deepen_rev_list)
991{

Callers 2

receive_needsFunction · 0.85
process_argsFunction · 0.85

Calls 1

dieFunction · 0.70

Tested by

no test coverage detected