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

Re: [PATCH] worktree: record creation time and free-form note

From
KNKiesel, Norbert <norbert.kiesel@creditkarma.com>
Date
Jun 3, 2026, 00:03 UTC
Message-ID
<CAPGaHksjsSefYmGPBxKLw8DDADR5AwTiHTbHq0UyBBtg3CKq9Q@mail.gmail.com>
In-Reply-To
<xmqq1peots9i.fsf@gitster.g>

Yes, I could change my PR to use $GIT_COMMON_DIR/worktrees/$worktree/description instead of the currently used $GIT_COMMON_DIR/worktrees/$worktree/note.

Give me a day, and I can create the updated diff.
Best,
  Norbert
On Tue, Jun 2, 2026 at 4:52 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 17 quoted lines
>
> "Kiesel, Norbert" <norbert.kiesel@creditkarma.com> writes:
>
> > 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.
-- 
Norbert Kiesel | Staff Software Engineer | Credit Karma
norbert.kiesel@creditkarma.com | www.creditkarma.com

This email may contain confidential and privileged information. Any
review, use, distribution, or disclosure by anyone other than the
intended recipient(s) is prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete all
copies of this message.
Previous: Junio C HamanoNext: Kiesel, Norbert
Message 4 of 13 in “worktree: record creation time and free-form note”
  1. worktree: record creation time and free-form noteKiesel, Norbert, Jun 2, 2026
  2. Junio C HamanoJun 2, 2026
  3. Junio C HamanoJun 2, 2026
  4. Kiesel, NorbertJun 3, 2026
  5. Kiesel, NorbertJun 3, 2026
  6. Junio C HamanoJun 4, 2026
  7. Junio C HamanoJun 8, 2026
  8. Phillip WoodJun 5, 2026
  9. Kiesel, NorbertJun 5, 2026
  10. Kristoffer HaugsbakkJun 5, 2026
  11. Chris TorekJun 5, 2026
  12. Kiesel, NorbertJun 8, 2026
  13. Phillip WoodJun 9, 2026

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.