Thread (1 message) 1 message, 1 author, 2021-07-23

Re: [PATCH] setup: only die on invalid .git under RUN_SETUP

From: Junio C Hamano <hidden>
Date: 2021-07-23 01:59:05

Ævar Arnfjörð Bjarmason [off-list ref] writes:
I guess another easy alternative would be to issue a warning() in this
case, which is a relatively light refactoring of passing an error
message up from the relevant function(s) instead of having it die()
directly.
I think the end users deserve a warning even when they are running
ls-remote or bugreport in such a corrupt repository-lookalike.  It
might be sufficient to make "git diff [--no-index]" safe enough.

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