Re: Bug with git worktrees and git init

2016-08-24 Thread Duy Nguyen
On Tue, Aug 23, 2016 at 10:21 PM, Michael J Gruber wrote: > I've cc'ed the master of worktrees. Thanks for the analysis. I'll provide some patch as soon as possible. This git-init may also be a good place to repair broken worktrees too (e.g. because you moved a

Re: Bug with git worktrees and git init

2016-08-23 Thread Michael J Gruber
Max Nordlund venit, vidit, dixit 23.08.2016 14:35: > Hi, > > I've been using multiple worktrees for months without issue (it's a > great feature, thanks), until recently when I wanted to add hooks to > them. So, when I added a template for the hooks, everything was fine > until I did a git reset

Bug with git worktrees and git init

2016-08-23 Thread Max Nordlund
Hi, I've been using multiple worktrees for months without issue (it's a great feature, thanks), until recently when I wanted to add hooks to them. So, when I added a template for the hooks, everything was fine until I did a git reset --hard in the original repo which both applied those changes to