Thread (1 message) 1 message, 1 author, 2022-06-17

Re: [PATCH] setup: fix function name

From: Junio C Hamano <hidden>
Date: 2022-06-17 22:43:54

"Cleber Rosa via GitGitGadget" [off-list ref] writes:
From: Cleber Rosa <redacted>
Subject: Re: [PATCH] setup: fix function name
I'd add "in a BUG() message" at the end.
quoted hunk
diff --git a/setup.c b/setup.c
index faf5095e44d..b5a537258d2 100644
--- a/setup.c
+++ b/setup.c
@@ -1402,7 +1402,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");
 	}
Did you actually hit this BUG() and was sent to a wild goose chase
because of this typo?  Just checking, because BUG() that triggers
is a more serious issue itself.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help