From: Junio C Hamano Date: Sat, 25 Jun 2016 06:17:51 GMT Subject: Re: [PATCH] builtin/worktree.c: add option for setting worktree name Message-ID: In-Reply-To: <20160625051548.95564-1-barret@brennie.ca> Barret Rennie writes: > Add the --name parameter to git worktree add that allows the user to set > the name of the created worktree directory. A worktree must not already > exist with the current name or creation will fail. Hmph. This strongly smells like "because we can add this feature", not "because we need to add this feature". What problem does it solve? Please do not give me "currently we cannot give a name and instead live with the automatically given one, and with this patch we can give arbitrary name" as the answer. That is what I called "because we can". Why is it bad that you have to live with the name automatically given to your new worktree?