Re: [PATCH v5] worktree: add: introduce --checkout option
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Mar 29, 2016, 18:04 UTC
- Message-ID
- <CAPig+cSUr1FK68qhHOf+M_tHqELW_ocJFU4-4kpjGVFV0R+F2g@mail.gmail.com>
- In-Reply-To
- <20160329105402.GB1578@serenity.lan>
On Tue, Mar 29, 2016 at 6:54 AM, John Keeping <john@keeping.me.uk> wrote:
Show 12 quoted lines
> On Tue, Mar 29, 2016 at 10:11:01AM +0000, Ray Zhang wrote: >> With `add`, detach HEAD in the new working tree. See "DETACHED HEAD" >> in linkgit:git-checkout[1]. >> >> +--[no-]checkout:: > > This should be: > > --checkout:: > --no-checkout:: > > (see for example --progress in Documentation/merge-options.txt).
[1] suggested either form without stating a preference since existing Git documentation uses a mixture of the two. See, for instance, git-format-patch.txt. However, I see now that --[no-]-option is the minority.
[1]: http://article.gmane.org/gmane.comp.version-control.git/289840