From: Junio C Hamano Date: Mon, 20 Nov 2017 00:39:01 GMT Subject: Re: [PATCH v3 3/3] worktree: make add dwim Message-ID: In-Reply-To: Eric Sunshine writes: > On Sun, Nov 19, 2017 at 2:04 PM, Eric Sunshine wrote: >> On Sat, Nov 18, 2017 at 5:47 PM, Thomas Gummerer wrote: >>> +To disable the behaviour of trying to match the basename of to >>> +a remote, and always create a new branch from HEAD, the `--no-track` >> >> Does --[no-]track deserve to be documented in the OPTIONS section like >> the other options are? > > One other question: Since this is re-using the well-known option name > --no-track, should it also get applied to the "git worktree add -b foo > dir origin/foo" case, as well, which you pointed out (in the patch 2/3 > thread) already DWIMs tracking automatically? (I can easily see > someone reporting it as a bug if "git worktree add --no-track -b foo > dir origin/foo" does not suppress tracking.) Sensible suggestion. Thanks.