From: Cleber Rosa Date: Thu, 9 Jun 2022 13:55:20 +0000 (+0000) Subject: setup: fix function name in a BUG() message X-Git-Tag: v2.37.2~28^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3ba4fa715c67329736c9483f4b3fdab99cee50f;p=thirdparty%2Fgit.git setup: fix function name in a BUG() message The reference given to users when the result of setup_git_directory_gently_1() is unexpected is incorrect. Signed-off-by: Cleber Rosa Signed-off-by: Junio C Hamano --- diff --git a/setup.c b/setup.c index a7b36f3ffb..742ae56e3a 100644 --- a/setup.c +++ b/setup.c @@ -1393,7 +1393,7 @@ const char *setup_git_directory_gently(int *nongit_ok) * find a repository. */ default: - BUG("unhandled setup_git_directory_1() result"); + BUG("unhandled setup_git_directory_gently_1() result"); } /*