From a3ba4fa715c67329736c9483f4b3fdab99cee50f Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Thu, 9 Jun 2022 13:55:20 +0000 Subject: 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 --- setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.c') 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"); } /* -- cgit v1.2.3