git-worktree.txt: fix missing ")" typo

Add the closing ")" to a parenthetical phrase introduced by 4e85333197 (worktree: make add <path> <branch> dwim, 2017-11-26). While at it, add a missing ":" at the end of the same sentence since it precedes an example literal command block. Reported-by: Mike Nordell <tamlin.thefirst@gmail.com> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Sunshine committed Feb 16, 2018 at 15:44 UTC 661a5a382e37c8a81e76ba803559075f3350a51c
1 file changed +2 -2
Documentation/git-worktree.txt
+2 -2
@@ -52,10 +52,10 @@ is linked to the current repository, sharing everything except working
52 directory specific files such as HEAD, index, etc. `-` may also be
53 specified as `<commit-ish>`; it is synonymous with `@{-1}`.
54 +
55 -If <commit-ish> is a branch name (call it `<branch>` and is not found,
55 +If <commit-ish> is a branch name (call it `<branch>`) and is not found,
56 and neither `-b` nor `-B` nor `--detach` are used, but there does
57 exist a tracking branch in exactly one remote (call it `<remote>`)
58 -with a matching name, treat as equivalent to
58 +with a matching name, treat as equivalent to:
59 ------------
60 $ git worktree add --track -b <branch> <path> <remote>/<branch>
61 ------------