Merge branch 'ps/maintenance-detach-fix'
Maintenance tasks other than "gc" now properly go background when "git maintenance" runs them. * ps/maintenance-detach-fix: run-command: fix detaching when running auto maintenance builtin/maintenance: add a `--detach` flag builtin/gc: add a `--detach` flag builtin/gc: stop processing log file on signal builtin/gc: fix leaking config values builtin/gc: refactor to read config into structure config: fix constness of out parameter for `git_config_get_expiry()`
This commit is contained in:
2
config.h
2
config.h
@ -672,7 +672,7 @@ int repo_config_get_split_index(struct repository *r);
|
||||
int repo_config_get_max_percent_split_change(struct repository *r);
|
||||
|
||||
/* This dies if the configured or default date is in the future */
|
||||
int repo_config_get_expiry(struct repository *r, const char *key, const char **output);
|
||||
int repo_config_get_expiry(struct repository *r, const char *key, char **output);
|
||||
|
||||
/* parse either "this many days" integer, or "5.days.ago" approxidate */
|
||||
int repo_config_get_expiry_in_days(struct repository *r, const char *key,
|
||||
|
Reference in New Issue
Block a user