From: Duy Nguyen Date: Thu, 04 Oct 2018 07:00:43 GMT Subject: Re: git fetch behaves weirdely when run in a worktree Message-ID: In-Reply-To: <3F40923F-B596-403C-900D-6F411A0D1CE1@gmail.com> On Thu, Oct 4, 2018 at 8:55 AM Kaartic Sivaraam wrote: > > > > On 3 October 2018 00:13:06 GMT+05:30, Kaartic Sivaraam wrote: > >Hi, > > > >Sorry for the delay. Got a little busy over the weekend. I seem to have > >found the reason behind the issue in the mean time :-) > > > > Oops, I forgot to mention there's more comments inline! > > BTW, is there an issue if .git/HEAD and .git/index are owned by root? The owners seem to have changed since I created the worktree possibly due to the cron job. Just wondering if it might cause some issues. If the files are still readable by normal user and $GIT_DIR has permission to delete/rename them, then I think everything still works. -- Duy