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

Re: [PATCH 0/2] worktree list: fix column alignment

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Nov 19, 2025, 06:50 UTC
Message-ID
<CAPig+cQyP=v2MBEUE=fSON-N-vJgxT-bmVV8nWnoz0JYGc89Ww@mail.gmail.com>
In-Reply-To
<cover.1763482051.git.phillip.wood@dunelm.org.uk>
On Tue, Nov 18, 2025 at 11:07 AM Phillip Wood <phillip.wood123@gmail.com> wrote:
> If a worktree path contains a multibyte character we end up with
> excess padding between the columns in the output of "git worktree
> list". This series fixes that and quotes the path to avoid control
> characters messing up the output as well.

Thanks for Cc:'ing me. I've added Michael Rappazzo to the Cc: list, as well, since he authored bb9c03b82a (worktree: add 'list' command, 2015-10-08) which added the code in question.

Previous: Junio C Hamano
Message 8 of 8 in “worktree list: fix column alignment”
  1. 0/2 worktree list: fix column alignmentPhillip Wood, Nov 18, 2025
  2. 1/2 worktree list: fix column spacingPhillip Wood, Nov 18, 2025
  3. Eric SunshineNov 19, 2025
  4. 2/2 worktree list: quote pathsPhillip Wood, Nov 18, 2025
  5. Eric SunshineNov 19, 2025
  6. Phillip WoodNov 21, 2025
  7. Junio C HamanoNov 18, 2025
  8. Eric SunshineNov 19, 2025

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.