Thread (10 messages) 10 messages, 4 authors, 2024-10-04

Re: "git worktree repair" modifies the wrong repository

From: Russell Stuart <hidden>
Date: 2024-09-19 10:16:30

On 19/9/24 18:58, Eric Sunshine wrote:
I have a tentative fix implemented which seems to handle this case 
correctly. Once I've finished polishing it and formalizing the
related test, I'll send out a patch.
Fantastic.

I noticed repair hadn't changed the directories I thought it had, but
had said it was changing something.  Pondering what on earth could of
happened, my first thought "surely not" - and then checked the
originals.  It caught me totally by surprise.  Everyone I showed it to
expressed the same surprise.

I can't resist pointing out if "git worktree add" had of preserved the
relative paths I gave it, it would not have happened.


-- 
Regards,
Russell Stuart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help