git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 14, 2017, 14:34 UTC
Message-ID
<alpine.DEB.2.21.1.1707141629400.4193@virtualbox>
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

Next: Junio C Hamano
Message 1 of 2 in “Regression in v2.13.3, fixed in master: aliases in worktrees”
  1. Johannes SchindelinJul 14, 2017
  2. Junio C HamanoJul 14, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.