On Fri, Aug 24, 2018 at 7:25 PM Jeff King <peff@xxxxxxxx> wrote: > On Fri, Aug 24, 2018 at 06:55:24PM -0400, Eric Sunshine wrote: > > On Fri, Aug 24, 2018 at 10:47 AM Duy Nguyen <pclouds@xxxxxxxxx> wrote: > > > > I was thinking that "worktree add" could start respecting the --force > > > > option as an escape hatch. > > > > > > Sounds good. Eric are you going to implement this? Just checking so > > > that I can (hopefully) cross this off my backlog ;-) > > > > It wasn't something I was planning on working on (at least not > > immediately) [...] > > As for the actual implementation, I haven't yet looked at how much > > surgery will be needed to make 'add' respect --force. > > Me either. I may take a look this weekend. [...] Okay, I got an implementation up and running. It didn't require too much code, but neither was it a simple 1- or 2-liner. I still need to update documentation, write tests, and compose the actual patch series (which will probably run to about 5 patches), so it's not quite ready to send out, but hopefully soon.