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

Re: Recovering from gc errors

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Nov 14, 2017, 16:48 UTC
Message-ID
<CAPig+cS8fg7UEX7eO4LLrVuuuBCxOVbhqmc5xFGqv3mT6s0=ng@mail.gmail.com>
In-Reply-To
<3af0f8cc-09f3-bcf2-04c8-f076e0ddcea2@xiplink.com>
On Tue, Nov 14, 2017 at 10:39 AM, Marc Branchaud <marcnarc@xiplink.com> wrote:
Show 7 quoted lines
> I'm willing to chalk this up to bugs in the early worktree code, unless one
> of the CC'd worktree developers thinks otherwise.
>
> An explicit "git worktree delete" command would be nice for manually
> cleaning things up.  It's easy to just delete the directory, but having a
> "delete" command gives the user assurance that they're not missing
> something.

Duy does have a series in 'pu' which adds this functionality, but I guess it's stalled for the moment. From "What's Cooking":

    * nd/worktree-move (2017-04-20) 6 commits
    - worktree remove: new command
    - worktree move: refuse to move worktrees with submodules
    - worktree move: accept destination as directory
    - worktree move: new command
    - worktree.c: add update_worktree_location()
    - worktree.c: add validate_worktree()
    "git worktree" learned move and remove subcommands.
    Expecting a reroll.
    cf. <20170420101024.7593-1-pclouds@gmail.com>
    cf. <20170421145916.mknekgqzhxffu7di@sigill.intra.peff.net>
    cf. <d0e81b1e-5869-299e-f462-4d43dc997bd1@ramsayjones.plus.com>
Previous: Marc BranchaudNext: Jeff King
Message 4 of 5 in “Recovering from gc errors”
  1. Marc BranchaudNov 13, 2017
  2. Jeff KingNov 14, 2017
  3. Marc BranchaudNov 14, 2017
  4. Eric SunshineNov 14, 2017
  5. Jeff KingNov 15, 2017

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.