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

Re: [PATCH] ls-files: die instead of fprintf/exit in -i error

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 9, 2009, 06:53 UTC
Message-ID
<7v1vld5a93.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1255053215-14059-1-git-send-email-bwalton@artsci.utoronto.ca>
Ben Walton <bwalton@artsci.utoronto.ca> writes:
> This is the alternate solution to this bug as proposed earlier today.
> I don't have a preference either way for which solution is better or
> more inline with the 'git way,' so please choose the most appropriate.
I think die() is better for consistency reasons if nothing else.
Thanks.
Previous: Ben Walton
Message 4 of 4 in “ls-files: make option parser keep argv[0]”
  1. ls-files: make option parser keep argv[0]Ben Walton, Oct 8, 2009
  2. Stephen BoydOct 8, 2009
  3. ls-files: die instead of fprintf/exit in -i errorBen Walton, Oct 9, 2009
  4. Junio C HamanoOct 9, 2009

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.