Skip to content

Commit a3ba4fa

Browse files
clebergnugitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent dc8c8de commit a3ba4fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ const char *setup_git_directory_gently(int *nongit_ok)
13931393
* find a repository.
13941394
*/
13951395
default:
1396-
BUG("unhandled setup_git_directory_1() result");
1396+
BUG("unhandled setup_git_directory_gently_1() result");
13971397
}
13981398

13991399
/*

0 commit comments

Comments
 (0)