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

Function run_status

add-interactive.c:609–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607}
608
609static int run_status(struct add_i_state *s, const struct pathspec *ps,
610 struct prefix_item_list *files,
611 struct list_and_choose_options *opts)
612{
613 if (get_modified_files(s->r, NO_FILTER, files, ps, NULL, NULL) < 0)
614 return -1;
615
616 list(s, &files->items, NULL, &opts->list_opts);
617 putchar('\n');
618
619 return 0;
620}
621
622static int run_update(struct add_i_state *s, const struct pathspec *ps,
623 struct prefix_item_list *files,

Callers 1

run_add_iFunction · 0.70

Calls 2

get_modified_filesFunction · 0.85
listFunction · 0.70

Tested by

no test coverage detected