From: Junio C Hamano <email@example.com> To: Eric Sunshine <firstname.lastname@example.org> Cc: email@example.com, "Pratyush Yadav" <firstname.lastname@example.org>, "SZEDER Gábor" <email@example.com> Subject: Re: [PATCH 0/3] worktree: add -d shorthand for --detach & improve documentation Date: Sun, 06 Sep 2020 14:58:25 -0700 [thread overview] Message-ID: <firstname.lastname@example.org> (raw) In-Reply-To: <email@example.com> Eric Sunshine <firstname.lastname@example.org> writes: > This series grew directly out of suggestions proposed in . Its > purpose is twofold. First, it brings git-worktree in line with the other > "checkout a branch" commands git-switch and git-checkout by teaching it > -d as shorthand for --detach (which those other commands already > understand). Hmph, "checkout" would not affect list of worktrees, but "worktree" could be used to delete an worktree, so I (or any other naive user like me) may mistake "-d" to mean "delete a worktree". But it is not "teach 'worktree' that -d is shorthand for --detach"; it is "teach 'worktree add' that -d is for --detach". And in that context, when adding a new worktree, there is no room for such a confusion to come into the picture. So I think it is just the way the series is marketted that triggered a potential negative reaction from me. > worktree: add -d short option for --detach
next prev parent reply other threads:[~2020-09-06 21:58 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-04 7:07 Eric Sunshine 2020-09-04 7:07 ` [PATCH 1/3] git-checkout.txt: document -d short option for --detach Eric Sunshine 2020-09-04 7:07 ` [PATCH 2/3] worktree: add " Eric Sunshine 2020-09-04 7:07 ` [PATCH 3/3] git-worktree.txt: discuss branch-based vs. throwaway worktrees Eric Sunshine 2020-09-06 21:58 ` Junio C Hamano [this message] 2020-09-07 0:02 ` [PATCH v2 0/3] worktree: teach `add` -d for --detach & improve documentation Eric Sunshine 2020-09-07 0:02 ` [PATCH v2 1/3] git-checkout.txt: document -d short option for --detach Eric Sunshine 2020-09-07 0:02 ` [PATCH v2 2/3] worktree: teach `add` to recognize -d as shorthand " Eric Sunshine 2020-09-07 0:02 ` [PATCH v2 3/3] git-worktree.txt: discuss branch-based vs. throwaway worktrees Eric Sunshine
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: http://vger.kernel.org/majordomo-info.html * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: [PATCH 0/3] worktree: add -d shorthand for --detach & improve documentation' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this 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).