All of lore.kernel.org
 help / color / mirror / Atom feed
* git diagnose in non git directory results in core dump
@ 2023-10-25 20:41 Sheik
  2023-10-25 21:01 ` Kristoffer Haugsbakk
  0 siblings, 1 reply; 2+ messages in thread
From: Sheik @ 2023-10-25 20:41 UTC (permalink / raw)
  To: git

Hi Maintainers,


Running git diagnose in a non git directory results in a core dump. 
Expected behaviour would be that it reports an error.


mkdir test

cd test

git diagnose

#Output...

Segmentation fault (core dumped)


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]


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git diagnose in non git directory results in core dump
  2023-10-25 20:41 git diagnose in non git directory results in core dump Sheik
@ 2023-10-25 21:01 ` Kristoffer Haugsbakk
  0 siblings, 0 replies; 2+ messages in thread
From: Kristoffer Haugsbakk @ 2023-10-25 21:01 UTC (permalink / raw)
  To: Sheik; +Cc: git

Being worked on: https://lore.kernel.org/git/CAKFQ_Q9WjF9i-Rx2jdCw-adPVQrWNfNKrDY-em8Rpa5RNLXz4A@mail.gmail.com/

-- 
Kristoffer Haugsbakk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-25 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-25 20:41 git diagnose in non git directory results in core dump Sheik
2023-10-25 21:01 ` Kristoffer Haugsbakk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.