Re: [PATCH 07/11] builtin/gc.c: replace `git_config()` with `git_config_get_*()` family
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Aug 4, 2014, 20:41 UTC
- Message-ID
- <vpq61i89eda.fsf@anie.imag.fr>
- In-Reply-To
- <1407177229-30081-8-git-send-email-tanayabh@gmail.com>
Tanay Abhra <tanayabh@gmail.com> writes:
> + if (approxidate(prune_expire) >= now) {
> + error(_("Invalid %s: '%s'"), "gc.pruneexpire", prune_expire);
> + git_die_config("gc.pruneexpire");
> + }That is a case where the API looks suboptimal, see Junio's remark in the other thread.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/