summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-12-14 23:59:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-12-26 18:38:55 (GMT)
commit820a647e67ad21ecb1d23b2154c44ad13e794443 (patch)
treec9b3a037921415b9fff44f604ed26c868d72881c
parent898c2e65b7743f7d56bf50b4ba8bf4f59a0caf93 (diff)
downloadgit-820a647e67ad21ecb1d23b2154c44ad13e794443.zip
git-820a647e67ad21ecb1d23b2154c44ad13e794443.tar.gz
git-820a647e67ad21ecb1d23b2154c44ad13e794443.tar.bz2
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>
-rw-r--r--builtin/submodule--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index d38113a..31ac30c 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 <name> <path>");
+ BUG("submodule--helper ensure-core-worktree <path>");
path = argv[1];