Skip to content

Commit

Permalink
submodule--helper: fix BUG message in ensure_core_worktree
Browse files Browse the repository at this point in the history
74d4731 (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>
  • Loading branch information
stefanbeller authored and gitster committed Dec 26, 2018
1 parent 898c2e6 commit 820a647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/submodule--helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 820a647

Please sign in to comment.