submodule--helper: fix BUG message in ensure_core_worktree

74d4731da1 (submodule--helper: replace connect-gitdir-workingtree by ensure-core-worktree, 2018-08-13) missed to update the BUG message. Fix it. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Beller committed Dec 14, 2018 at 15:59 UTC 820a647e67ad21ecb1d23b2154c44ad13e794443
1 file changed +1 -1
builtin/submodule--helper.c
+1 -1
@@ -2045,7 +2045,7 @@ static int ensure_core_worktree(int argc, const char **argv, const char *prefix)
2045 struct repository subrepo;
2046
2047 if (argc != 2)
2048 - BUG("submodule--helper connect-gitdir-workingtree <name> <path>");
2048 + BUG("submodule--helper ensure-core-worktree <path>");
2049
2050 path = argv[1];
2051