Re: [PATCH 1/6] Documentation/git-worktree: spell --detach correctly
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 15 quoted lines
> Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
> ---
> Documentation/git-worktree.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt
> index 62c76c1..51a2ea0 100644
> --- a/Documentation/git-worktree.txt
> +++ b/Documentation/git-worktree.txt
> @@ -50,7 +50,7 @@ Create `<path>` and checkout `<branch>` into it. The new working directory
> is linked to the current repository, sharing everything except working
> directory specific files such as HEAD, index, etc.
> +
> -If `<branch>` is omitted and neither `-b` nor `-B` nor `--detached` used,
> +If `<branch>` is omitted and neither `-b` nor `-B` nor `--detach` used,
That is correct, but I wonder if there is an " is" missing there...?
> then, as a convenience, a new branch based at HEAD is created automatically,
> as if `-b $(basename <path>)` was specified.