git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sheik <sahibzone@gmail.com>
To: git@vger.kernel.org
Subject: git diagnose with invalid CLI argument does not report error
Date: Thu, 26 Oct 2023 07:49:58 +1100	[thread overview]
Message-ID: <849b6ee2-99f3-4aaa-835f-44d3e13befc3@gmail.com> (raw)

Hi Maintainers,


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.

#Example shell commands which should have reported an error but 
continues to succeed

cd $ToAGitDirectory

git diagnose mod

git diagnose mode

git diagnose mode=all


Thanks

Sheik


[System Info]
git version:
git version 2.42.0
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 6.5.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1 
(2023-10-07) x86_64
compiler info: gnuc: 13.2
libc info: glibc: 2.37
$SHELL (typically, interactive shell): /bin/bash


[Enabled Hooks]


             reply	other threads:[~2023-10-25 20:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-25 20:49 Sheik [this message]
2023-10-26 11:10 ` git diagnose with invalid CLI argument does not report error Bagas Sanjaya
2023-10-26 22:11   ` Eric Sunshine
2023-10-26 22:41     ` Emily Shaffer
2023-10-26 22:43       ` Eric Sunshine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=849b6ee2-99f3-4aaa-835f-44d3e13befc3@gmail.com \
    --to=sahibzone@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).