From: Eric Sunshine Date: Tue, 29 Mar 2016 18:04:38 GMT Subject: Re: [PATCH v5] worktree: add: introduce --checkout option Message-ID: In-Reply-To: <20160329105402.GB1578@serenity.lan> On Tue, Mar 29, 2016 at 6:54 AM, John Keeping wrote: > 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