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

Re: What's cooking in git.git (Sep 2020, #01; Tue, 1)

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Sep 2, 2020, 18:17 UTC
Message-ID
<CAPig+cRn3e=A4Bd5h7+y9NgOws7Pif86vdW8M1RwQaP_q-Es5Q@mail.gmail.com>
In-Reply-To
<xmqqwo1caw2y.fsf@gitster.c.googlers.com>
On Wed, Sep 2, 2020 at 2:10 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> Eric Sunshine <sunshine@sunshineco.com> writes:
> > The current implementation also helps out when the main worktree (or
> > bare repository) is moved.
>
> That is why I wrote "secondary worktrees" initially and then dropped
> "secondary" from the description ;-)

I understand now. Perhaps it's just me, but when I see the term "worktree", I automatically think "linked worktre" (what you call "secondary"), and don't usually think of the main worktree. But this also fixes the problem when a bare repository is moved. So...

> Well given that the primary reason why I add these blub in What's
> cooking is to draft the release notes for upcoming release, my
> preference is to give "we help these cases" than giving overly large
> promises to our users.
Okay. In that case, perhaps a slight modification of your wording would work?
    "git worktree" gained a "repair" subcommand to help users recover
    after moving the worktrees or repository manually without telling
    Git.  Also, "git init --separate-git-dir" no longer corrupts
    administrative data related to linked worktrees.
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 7 in “What's cooking in git.git (Sep 2020, #01; Tue, 1)”
  1. Junio C HamanoSep 1, 2020
  2. Eric SunshineSep 1, 2020
  3. Junio C HamanoSep 2, 2020
  4. Eric SunshineSep 2, 2020
  5. Junio C HamanoSep 2, 2020
  6. Eric SunshineSep 2, 2020
  7. Junio C HamanoSep 2, 2020

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.