git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] revert: clarify seemingly bogus OPT_END repetition

From
Jeff King <peff@peff.net>
Date
Jul 6, 2016, 10:48 UTC
Message-ID
<20160706104800.GA28798@sigill.intra.peff.net>
In-Reply-To
<alpine.DEB.2.20.1607060901430.6426@virtualbox>
On Wed, Jul 06, 2016 at 09:03:44AM +0200, Johannes Schindelin wrote:
Show 15 quoted lines
> > By the way, I notice that the error message when concat fails is just:
> > 
> >   if (parse_options_concat(options, ARRAY_SIZE(options), cp_extra))
> > 	die(_("program error"));
> > 
> > Should this become:
> > 
> >         die("BUG: not enough room to concatenate options");
> > 
> > as part of your BUG cleanups elsewhere?
> 
> Not really. I do not have time for a crusade through all of the die()
> statements to determine whether they're really bug reports. You refer to
> my clean-up of merge-recursive.c, right? That was a necessary prerequisite
> for the patch to stop die()ing in case of errors.

Yeah. I didn't look at it all that closely, but it looked like you hit places outside of merge-recursive, too. I agree it is not worth including unless you are crusading, though (and anyway, my patch gets rid of the message entirely).

-Peff
Previous: Johannes Schindelin
Message 13 of 13 in “revert: clarify seemingly bogus OPT_END repetition”
  1. revert: clarify seemingly bogus OPT_END repetitionJohannes Schindelin, Jul 5, 2016
  2. Jeff KingJul 5, 2016
  3. Jeff KingJul 5, 2016
  4. Jacob KellerJul 5, 2016
  5. Johannes SchindelinJul 6, 2016
  6. Michael J GruberJul 6, 2016
  7. Over-/underquoting, was Re: [PATCH] revert: clarify seemingly bogus OPT_END repetitionJohannes Schindelin, Jul 6, 2016
  8. Jacob KellerJul 6, 2016
  9. Michael J GruberJul 9, 2016
  10. Eric WongJul 9, 2016
  11. Johannes SchindelinJul 6, 2016
  12. Johannes SchindelinJul 6, 2016
  13. Jeff KingJul 6, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.