Re: [PATCH v9 4/4] tag: support configuring --sort via .gitconfig
- From
Jeff King <peff@peff.net>
- Date
- Jul 15, 2014, 23:42 UTC
- Message-ID
- <20140715234240.GB5572@peff.net>
- In-Reply-To
- <1405467179-16064-4-git-send-email-jacob.e.keller@intel.com>
On Tue, Jul 15, 2014 at 04:32:59PM -0700, Jacob Keller wrote:
> +static void error_bad_sort_config(const char *err, va_list params)
> +{
> + vreportf("warning: tag.sort has ", err, params);
> +}This feels a little like an abuse of the "prefix" field of vreportf, but as you probably saw in my "for fun" patch, doing it right means formatting into a buffer and then reformatting that (which we're already doing again in vreportf, but less flexibly). I dunno.
At any rate, this should be marked for translation, no?
-Peff