Thread (15 messages) 15 messages, 6 authors, 2023-10-27

git bugreport with invalid CLI argument does not report error

flat view

From: Sheik <hidden>
Date: 2023-10-25 20:59:22

Hi Maintainers,


Running git bugreport with an invalid CLI argument in a valid Git directory does not report error. Expected behaviour would be that it reports an error.


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

cd $ToAnyDirectory

git bugreport diagnose


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]

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help