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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 4, 2026, 01:14 UTC
Message-ID
<xmqqik7zp0mz.fsf@gitster.g>
In-Reply-To
<CAPGaHktHLPUeSuhETwyBo+jE2fMu40jHW284PN+2oY1YJ2j0Yw@mail.gmail.com>
"Kiesel, Norbert" <norbert.kiesel@creditkarma.com> writes:
Show 10 quoted lines
> Hi Junio,
>
> I looked at the usage of `.git/description` and I could not find any
> usage.  We do have
> Git branch descriptions which are stored in .git/config, but that does
> not seem to be
> usable to store the worktree description or the worktree creation timestamp.
>
> So are you ok if I send the PR again, just using "description" instead
> of "note"?

Not really. Not adding "note" and reusing "description" merely removes one smaller problem I immediately see.

As I said a few times, I do not get why such a "feature" is needed. Also, be it a "note" or "description", people notice typoes in the message and go in to edit with their editor, which would update the mtime of the file, so if that is the timestamp you are using for anything real, I am not sure how well it would work in practice.

I'll let the others to figure out the merit of the feature and will come back next week to see what concensus they reached.

Thanks.
Previous: Kiesel, NorbertNext: Junio C Hamano
Message 6 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.