From: Stefan Beller Date: Fri, 14 Dec 2018 23:59:44 +0000 (-0800) Subject: submodule--helper: fix BUG message in ensure_core_worktree X-Git-Tag: v2.21.0-rc0~97^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/820a647e67ad21ecb1d23b2154c44ad13e794443?hp=--cc 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 Signed-off-by: Junio C Hamano --- 820a647e67ad21ecb1d23b2154c44ad13e794443 diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index d38113a31a..31ac30cf2f 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -2045,7 +2045,7 @@ static int ensure_core_worktree(int argc, const char **argv, const char *prefix) struct repository subrepo; if (argc != 2) - BUG("submodule--helper connect-gitdir-workingtree "); + BUG("submodule--helper ensure-core-worktree "); path = argv[1];