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

Function handle_untracked_files_arg

builtin/commit.c:1216–1228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1214}
1215
1216static void handle_untracked_files_arg(struct wt_status *s)
1217{
1218 enum untracked_status_type u;
1219
1220 if (!untracked_files_arg)
1221 return; /* default already initialized */
1222
1223 u = parse_untracked_setting_name(untracked_files_arg);
1224 if (u == SHOW_UNTRACKED_FILES_ERROR)
1225 die(_("Invalid untracked files mode '%s'"),
1226 untracked_files_arg);
1227 s->show_untracked_files = u;
1228}
1229
1230static const char *read_commit_message(const char *name)
1231{

Callers 2

cmd_statusFunction · 0.85

Calls 2

dieFunction · 0.50

Tested by

no test coverage detected