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

Re: git diagnose with invalid CLI argument does not report error

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Oct 26, 2023, 22:43 UTC
Message-ID
<CAPig+cRU5bU-QkX3au_+DvM8KiKHLNeB1u+PB2LXgz6gu-4qzw@mail.gmail.com>
In-Reply-To
<CAJoAoZ=a30QsMXHz+47haZ=QGkY8-QYccSuY_94mi9h9RMiBFA@mail.gmail.com>
On Thu, Oct 26, 2023 at 6:41 PM Emily Shaffer <nasamuffin@google.com> wrote:
Show 13 quoted lines
> On Thu, Oct 26, 2023 at 3:12 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
> > On Thu, Oct 26, 2023 at 7:10 AM Bagas Sanjaya <bagasdotme@gmail.com> wrote:
> > > On Thu, Oct 26, 2023 at 07:49:58AM +1100, Sheik wrote:
> > > > Running git diagnose with an invalid CLI argument in a valid Git directory
> > > > does not report error. Expected behaviour would be that it reports an error.
> > >
> > > I can reproduce this only when the invalid parameter is a normal word:
> > > Cc:'ing people who recently worked on builtin/diagnose.c for help.
> >
> > A patch by Emily to fix this has been submitted[v4].
>
> To be clear, that patch was for git-bugreport and doesn't cover
> git-diagnose. I assume the fix ends up being pretty similar though.
My bad.
Previous: Emily Shaffer
Message 5 of 5 in “git diagnose with invalid CLI argument does not report error”
  1. SheikOct 25, 2023
  2. Bagas SanjayaOct 26, 2023
  3. Eric SunshineOct 26, 2023
  4. Emily ShafferOct 26, 2023
  5. Eric SunshineOct 26, 2023

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.