Re: [PATCH] builtin/worktree.c: add option for setting worktree name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Barret Rennie <barret@xxxxxxxxxx> 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?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]