Thread (1 message) 1 message, 1 author, 2017-11-20

Re: [PATCH v3 3/3] worktree: make add <path> dwim

From: Junio C Hamano <hidden>
Date: 2017-11-20 00:39:11

Eric Sunshine [off-list ref] writes:
On Sun, Nov 19, 2017 at 2:04 PM, Eric Sunshine [off-list ref] wrote:
quoted
On Sat, Nov 18, 2017 at 5:47 PM, Thomas Gummerer [off-list ref] wrote:
quoted
+To disable the behaviour of trying to match the basename of <path> 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help