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

Function exclude_helpers_from_list

git.c:59–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 unsigned int exclude_option);
58
59static void exclude_helpers_from_list(struct string_list *list)
60{
61 size_t i = 0;
62
63 while (i < list->nr) {
64 if (strstr(list->items[i].string, "--"))
65 unsorted_string_list_delete_item(list, i, 0);
66 else
67 i++;
68 }
69}
70
71static int match_token(const char *spec, int len, const char *token)
72{

Callers 1

list_cmdsFunction · 0.85

Calls 1

Tested by

no test coverage detected