summaryrefslogtreecommitdiffstats
path: root/builtin/worktree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-08-25 19:37:37 +0200
committerJunio C Hamano <gitster@pobox.com>2023-08-25 19:37:37 +0200
commit05c860356430814f25cb523ca4a40c9f6831c5d0 (patch)
tree118af7fc20d86a83ddea23afbc6af92cb8cd9f5f /builtin/worktree.c
parentMerge branch 'rs/parse-options-negation-help' (diff)
parentbuiltin/worktree.c: fix typo in "forgot fetch" msg (diff)
downloadgit-05c860356430814f25cb523ca4a40c9f6831c5d0.tar.xz
git-05c860356430814f25cb523ca4a40c9f6831c5d0.zip
Merge branch 'ja/worktree-orphan'
Typofix in an error message. * ja/worktree-orphan: builtin/worktree.c: fix typo in "forgot fetch" msg
Diffstat (limited to 'builtin/worktree.c')
-rw-r--r--builtin/worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 4cd01842de..10db70b7ec 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -696,7 +696,7 @@ static int can_use_remote_refs(const struct add_opts *opts)
return 1;
} else if (!opts->force && remote_get(NULL)) {
die(_("No local or remote refs exist despite at least one remote\n"
- "present, stopping; use 'add -f' to overide or fetch a remote first"));
+ "present, stopping; use 'add -f' to override or fetch a remote first"));
}
return 0;
}