| 974 | } |
| 975 | |
| 976 | static 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 | |
| 990 | static int process_deepen_since(const char *line, timestamp_t *deepen_since, int *deepen_rev_list) |
| 991 | { |
no test coverage detected