Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2022-06-09 16:55:20 +0300
committerJunio C Hamano <gitster@pobox.com>2022-06-18 01:44:19 +0300
commita3ba4fa715c67329736c9483f4b3fdab99cee50f (patch)
treed2d9659ba0c2d62b4b40ee4bd9c48c7ae53bb882 /setup.c
parentdc8c8deaa6b5847733bd7df011a4c7b7d1a64e0a (diff)
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>
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 1 insertions, 1 deletions
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");
}
/*