submodule--helper: fix BUG message in ensure_core_worktree
authorStefan Beller <sbeller@google.com>
Fri, 14 Dec 2018 23:59:44 +0000 (15:59 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Dec 2018 18:38:55 +0000 (10:38 -0800)
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>
builtin/submodule--helper.c
index d38113a31aeb3838190b7339475c7454e45f3a89..31ac30cf2fee2de630df9d2c4f56dfeca05047ee 100644 (file)
@@ -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 <name> <path>");
+               BUG("submodule--helper ensure-core-worktree <path>");
 
        path = argv[1];