Re: [PATCH] worktree: record creation time and free-form note
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 2, 2026, 23:52 UTC
- Message-ID
- <xmqq1peots9i.fsf@gitster.g>
- In-Reply-To
- <CAPGaHku+RAV+FA3C0md0xHiavfdB_anoqcMM06MAiU1VyMAdLA@mail.gmail.com>
"Kiesel, Norbert" <norbert.kiesel@creditkarma.com> writes:
Show 7 quoted lines
> From 130cd5e4a25e6672b2a97268e1100b6ef03fa552 Mon Sep 17 00:00:00 2001 > From: Norbert Kiesel <norbert.kiesel@creditkarma.com> > Date: Mon, 1 Jun 2026 17:03:39 -0700 > Subject: [PATCH] worktree: record creation time and free-form note > > Add per-worktree metadata so users can answer "what is this worktree > for, and when did I make it?" without resorting to external notes.
Although I am not personally interested in this topic all that much, let me point out that we have $GIT_DIR/description file that may be useful for something like this. It has been the canonical place for the main repository to identify itself long before secondary worktrees were invented and $GIT_COMMON_DIR/worktrees/$worktree/description would be a natural extension of the concept, I'd presume.