threads / discuss / 46386

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

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

## tl;dr

2 messages between Jul 14, 2017 and Jul 14, 2017.

replies: 1people: 2as markdown or json

Johannes Schindelin· Jul 14, 2017, 14:34 UTC · lore
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· Jul 14, 2017, 15:20 UTC · re: Johannes Schindelin · lore

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

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.

← back to recent threads