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

Function parse_status_slot

builtin/commit.c:1443–1449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1441define_list_config_array_extra(color_status_slots, {"added"});
1442
1443static int parse_status_slot(const char *slot)
1444{
1445 if (!strcasecmp(slot, "added"))
1446 return WT_STATUS_UPDATED;
1447
1448 return LOOKUP_CONFIG(color_status_slots, slot);
1449}
1450
1451static int git_status_config(const char *k, const char *v,
1452 const struct config_context *ctx, void *cb)

Callers 1

git_status_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected