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

Re: Worktree "gitdir" file being mangled after upgrade to 2.7.0

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 15, 2016, 17:52 UTC
Message-ID
<xmqqsi1yivb8.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CANoM8SUB5hfZHkLenDEq1O1wFrZno1OUUSH2uwDfihC0z+tUkQ@mail.gmail.com>
Mike Rappazzo <rappazzo@gmail.com> writes:
Show 10 quoted lines
>>> Thanks for relaying.  Duy, Michael, I think this is your area?
>>
>> The only place that a relative path can be written is
>> update_linked_girdir() unless i'm mistaken. That function is being
>> deleted "soon" because it causes another problem
>
> `git worktree list` command does not modify the worktree gitdir file,
> so this is only a symptom of the problem.  If at all possible, we
> should move to get Duy's fix into the 2.7.1 release.  This problem
> almost makes git worktree list useless.
Yes, what's the doneness of that "being deleted 'soon'"?
Thanks.
Previous: Mike RappazzoNext: Andreas Schwab
Message 5 of 6 in “Worktree "gitdir" file being mangled after upgrade to 2.7.0”
  1. Erik JohnsonJan 13, 2016
  2. Junio C HamanoJan 14, 2016
  3. Duy NguyenJan 14, 2016
  4. Mike RappazzoJan 14, 2016
  5. Junio C HamanoJan 15, 2016
  6. Andreas SchwabJan 14, 2016

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.