From: Junio C Hamano Date: Tue, 02 Aug 2016 19:22:24 GMT Subject: Re: [RFC/PATCH v11 12/13] bisect--helper: `get_terms` & `bisect_terms` shell function in C Message-ID: In-Reply-To: <0102015640423d09-87c8e96f-f10f-47dc-b24e-e30ba1de4408-000000@eu-west-1.amazonses.com> Pranit Bauva writes: > +static int bisect_terms(struct bisect_terms *terms, int term_defined) > +{ > + if (get_terms(terms)) { > + fprintf(stderr, "no terms defined\n"); > + return -1; > + } > + if (!term_defined) { > + printf("Your current terms are %s for the old state\nand " > + "%s for the new state.\n", terms->term_good.buf, > + terms->term_bad.buf); > + return 0; > + } In the original, all of the above messages go through gettext; this rewrite should do the same.