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 <crosa@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Cleber Rosa committed Jun 9, 2022 at 13:55 UTC a3ba4fa715c67329736c9483f4b3fdab99cee50f
1 file changed +1 -1
setup.c
+1 -1
@@ -1393,7 +1393,7 @@ const char *setup_git_directory_gently(int *nongit_ok)
1393 * find a repository.
1394 */
1395 default:
1396 - BUG("unhandled setup_git_directory_1() result");
1396 + BUG("unhandled setup_git_directory_gently_1() result");
1397 }
1398
1399 /*