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

Function git_config_expiry_date

config.c:1331–1339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1329}
1330
1331int git_config_expiry_date(timestamp_t *timestamp, const char *var, const char *value)
1332{
1333 if (!value)
1334 return config_error_nonbool(var);
1335 if (parse_expiry_date(value, timestamp))
1336 return error(_("'%s' for '%s' is not a valid timestamp"),
1337 value, var);
1338 return 0;
1339}
1340
1341int git_config_color(char *dest, const char *var, const char *value)
1342{

Callers 3

reflog_expire_configFunction · 0.85
pseudo_merge_configFunction · 0.85

Calls 3

config_error_nonboolFunction · 0.85
parse_expiry_dateFunction · 0.85
errorFunction · 0.85

Tested by

no test coverage detected