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>
maint
Cleber Rosa 2022-06-09 13:55:20 +00:00 committed by Junio C Hamano
parent dc8c8deaa6
commit a3ba4fa715
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}

/*