git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: worktree duplicates, was: [PATCH] SubmittingPatches: mention doc-diff

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Aug 27, 2018, 09:55 UTC
Message-ID
<CAPig+cQMv=ByvmH=+V3hZ1NC-=eT+CShuM7g+Y4evD1nVFr4XQ@mail.gmail.com>
In-Reply-To
<20180824232502.GA21265@sigill.intra.peff.net>
On Fri, Aug 24, 2018 at 7:25 PM Jeff King <peff@peff.net> wrote:
Show 14 quoted lines
> 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@gmail.com> 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.

Previous: Jeff KingNext: Jeff King
Message 9 of 11 in “SubmittingPatches: mention doc-diff”
  1. SubmittingPatches: mention doc-diffJeff King, Aug 21, 2018
  2. worktree duplicates, was: [PATCH] SubmittingPatches: mention doc-diffJeff King, Aug 21, 2018
  3. Eric SunshineAug 21, 2018
  4. Jeff KingAug 21, 2018
  5. Eric SunshineAug 23, 2018
  6. Duy NguyenAug 24, 2018
  7. Eric SunshineAug 24, 2018
  8. Jeff KingAug 24, 2018
  9. Eric SunshineAug 27, 2018
  10. Jeff KingAug 27, 2018
  11. Derrick StoleeAug 21, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.