Skip to content

Commit

Permalink
builtin/worktree.c: fix typo in "forgot fetch" msg
Browse files Browse the repository at this point in the history
Replace misspelled word "overide" with correctly spelled "override".

Reported-By: Teng Long <dyroneteng@gmail.com>
Signed-off-by: Jacob Abel <jacobabel@nullpo.dev>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
OneDeuxTriSeiGo authored and gitster committed Aug 13, 2023
1 parent 926c40d commit fdc9914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/worktree.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,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;
}
Expand Down

0 comments on commit fdc9914

Please sign in to comment.