* Fwd: Typo in worktree man page
[not found] <CANLPe+NVs9sJ7XQqvMabPBLg3DxS2Fyrrg3AzvZPBoWTPpnFzQ@mail.gmail.com>
@ 2017-02-22 0:52 ` Casey Rodarmor
2017-02-22 12:32 ` brian m. carlson
2017-02-22 12:34 ` [PATCH] Documentation: correctly spell git worktree --detach brian m. carlson
0 siblings, 2 replies; 4+ messages in thread
From: Casey Rodarmor @ 2017-02-22 0:52 UTC (permalink / raw)
To: git
Hi there,
The git worktree man page mentions the `--detached` flag in the
section on `add`, but the flag is actually called `--detach`.
Best,
Casey
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fwd: Typo in worktree man page
2017-02-22 0:52 ` Fwd: Typo in worktree man page Casey Rodarmor
@ 2017-02-22 12:32 ` brian m. carlson
2017-02-22 12:34 ` [PATCH] Documentation: correctly spell git worktree --detach brian m. carlson
1 sibling, 0 replies; 4+ messages in thread
From: brian m. carlson @ 2017-02-22 12:32 UTC (permalink / raw)
To: Casey Rodarmor; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
On Tue, Feb 21, 2017 at 04:52:11PM -0800, Casey Rodarmor wrote:
> Hi there,
>
> The git worktree man page mentions the `--detached` flag in the
> section on `add`, but the flag is actually called `--detach`.
Thanks for reporting this. I'll send a patch.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 868 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Documentation: correctly spell git worktree --detach
2017-02-22 0:52 ` Fwd: Typo in worktree man page Casey Rodarmor
2017-02-22 12:32 ` brian m. carlson
@ 2017-02-22 12:34 ` brian m. carlson
2017-02-22 17:50 ` Junio C Hamano
1 sibling, 1 reply; 4+ messages in thread
From: brian m. carlson @ 2017-02-22 12:34 UTC (permalink / raw)
To: git; +Cc: Casey Rodarmor
The option is “--detach”, but we accidentally spelled it “--detached” at
one point in the man page.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Reported-by: Casey Rodarmor <casey@rodarmor.com>
---
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 e257c19ebe..553cf8413f 100644
--- a/Documentation/git-worktree.txt
+++ b/Documentation/git-worktree.txt
@@ -52,7 +52,7 @@ is linked to the current repository, sharing everything except working
directory specific files such as HEAD, index, etc. `-` may also be
specified as `<branch>`; it is synonymous with `@{-1}`.
+
-If `<branch>` is omitted and neither `-b` nor `-B` nor `--detached` used,
+If `<branch>` is omitted and neither `-b` nor `-B` nor `--detach` used,
then, as a convenience, a new branch based at HEAD is created automatically,
as if `-b $(basename <path>)` was specified.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: correctly spell git worktree --detach
2017-02-22 12:34 ` [PATCH] Documentation: correctly spell git worktree --detach brian m. carlson
@ 2017-02-22 17:50 ` Junio C Hamano
0 siblings, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2017-02-22 17:50 UTC (permalink / raw)
To: brian m. carlson; +Cc: git, Casey Rodarmor
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
> The option is “--detach”, but we accidentally spelled it “--detached” at
> one point in the man page.
>
> Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
> Reported-by: Casey Rodarmor <casey@rodarmor.com>
> ---
Thanks, both.
> 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 e257c19ebe..553cf8413f 100644
> --- a/Documentation/git-worktree.txt
> +++ b/Documentation/git-worktree.txt
> @@ -52,7 +52,7 @@ is linked to the current repository, sharing everything except working
> directory specific files such as HEAD, index, etc. `-` may also be
> specified as `<branch>`; it is synonymous with `@{-1}`.
> +
> -If `<branch>` is omitted and neither `-b` nor `-B` nor `--detached` used,
> +If `<branch>` is omitted and neither `-b` nor `-B` nor `--detach` used,
> then, as a convenience, a new branch based at HEAD is created automatically,
> as if `-b $(basename <path>)` was specified.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-02-22 17:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CANLPe+NVs9sJ7XQqvMabPBLg3DxS2Fyrrg3AzvZPBoWTPpnFzQ@mail.gmail.com>
2017-02-22 0:52 ` Fwd: Typo in worktree man page Casey Rodarmor
2017-02-22 12:32 ` brian m. carlson
2017-02-22 12:34 ` [PATCH] Documentation: correctly spell git worktree --detach brian m. carlson
2017-02-22 17:50 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).