Re: [BUG] worktree local refs weirdness

2019-03-07 Thread Duy Nguyen
On Thu, Mar 7, 2019 at 4:46 PM Duy Nguyen wrote: > > On Thu, Mar 7, 2019 at 4:38 PM Phillip Wood wrote: > > > > On 06/03/2019 15:57, Phillip Wood wrote: > > > When it is run in a worktree 'git for-each-ref' only seems to show refs > > > under refs/rewritten if that directory also exists under $GI

Re: [BUG] worktree local refs weirdness

2019-03-07 Thread Duy Nguyen
On Thu, Mar 7, 2019 at 4:38 PM Phillip Wood wrote: > > On 06/03/2019 15:57, Phillip Wood wrote: > > When it is run in a worktree 'git for-each-ref' only seems to show refs > > under refs/rewritten if that directory also exists under $GIT_COMMON_DIR > > even though they are local to the worktree. >

Re: [BUG] worktree local refs weirdness

2019-03-07 Thread Phillip Wood
On 06/03/2019 15:57, Phillip Wood wrote: When it is run in a worktree 'git for-each-ref' only seems to show refs under refs/rewritten if that directory also exists under $GIT_COMMON_DIR even though they are local to the worktree. Initially I thought this was due to $GIT_COMMON_DIR pointing to

[BUG] worktree local refs weirdness

2019-03-06 Thread Phillip Wood
When it is run in a worktree 'git for-each-ref' only seems to show refs under refs/rewritten if that directory also exists under $GIT_COMMON_DIR even though they are local to the worktree. Initially I thought this was due to $GIT_COMMON_DIR pointing to a bare repo, but that is not the case. Ho