# Regression in v2.13.3, fixed in master: aliases in worktrees

2 messages from 2017-07-14 to 2017-07-14. Participants: Johannes Schindelin, Junio C Hamano.
Thread: https://gitlist.dev/t/46386

## Johannes Schindelin, 2017-07-14 14:34

Subject: Regression in v2.13.3, fixed in master: aliases in worktrees
Message-ID: <alpine.DEB.2.21.1.1707141629400.4193@virtualbox>
URL: https://gitlist.dev/e/alpine.DEB.2.21.1.1707141629400.4193%40virtualbox

```
Hi all,

just to let you know that repository-local aliases stopped working in
v2.13.3. This is due to my "aliases via early config" work that made it
into a maintenance release...

The bug is fixed in master already, and I cherry-picked Brandon's config-h
series that contains the fix into Git for Windows' master branch.

I only had to add one add-on patch that falls back to opts->git_dir when
opts->commondir is NULL (no idea whether that can happen in Git's master,
but it can happen in Git for Windows' master at least).

It *may* be worth it to cherry-pick this to `maint`, too, but then, it
looks as if I am the only really serious user of worktrees anyway (given
that auto-gc still corrupts worktrees' reflogs, and it is a known bug for
2 years and counting).

So I dunno. Maybe not worth bothering about in `maint`. Less work for you,
Junio.

Ciao,
Johannes


```

## Junio C Hamano, 2017-07-14 15:20

Subject: Re: Regression in v2.13.3, fixed in master: aliases in worktrees
Message-ID: <xmqq1spjrqor.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqq1spjrqor.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <alpine.DEB.2.21.1.1707141629400.4193@virtualbox>

```
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> The bug is fixed in master already, and I cherry-picked Brandon's config-h
> series that contains the fix into Git for Windows' master branch.

As you can see in Documentation/RelNotes/2.14.0.txt, I actually have
been debating myself if that series should be merged down to 'maint'
as a general bugfix around multi-worktree area for about 3 weeks.


```
