From: Matthieu Moy Date: Mon, 04 Aug 2014 20:41:37 GMT Subject: Re: [PATCH 07/11] builtin/gc.c: replace `git_config()` with `git_config_get_*()` family Message-ID: In-Reply-To: <1407177229-30081-8-git-send-email-tanayabh@gmail.com> Tanay Abhra 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/