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

Re: git worktree loses path information after git reset --hard

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 8, 2016, 19:49 UTC
Message-ID
<xmqqh9hj7zki.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<A1270C54-3868-42F4-8F7E-8F444631078F@eggers-club.de>
Daniel Egger <daniel@eggers-club.de> writes:
> I stumbled across a problem with worktrees recently; I incorrectly
> opened a ticket a GitHub for that and it was suggested that it
> might be fixed in 2.7.1 so I held off reporting it here but as it
> turned out it is still broken in 2.7.1 so here we go.

Instead of holding off, report them early after checking the list archive to see if it is already resolved. You may be asked to verify the proposed fix works for you with this and that patch, and you can help us that way, too, in addition to your helping us by throwing us a bug report.

I think the fix for this particular one is cooking in 'next' and about to graduate to 'master' (hence hopefully it can be part of 2.7.2).

Thanks.
Previous: Daniel Egger
Message 2 of 2 in “git worktree loses path information after git reset --hard”
  1. Daniel EggerFeb 8, 2016
  2. Junio C HamanoFeb 8, 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.