git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] worktree list: fix column alignment
@ 2025-11-18 16:07 Phillip Wood
  2025-11-18 16:07 ` [PATCH 1/2] worktree list: fix column spacing Phillip Wood
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Phillip Wood @ 2025-11-18 16:07 UTC (permalink / raw)
  To: git; +Cc: Eric Sunshine

From: Phillip Wood <phillip.wood@dunelm.org.uk>

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.

Base-Commit: fd372d9b1a69a01a676398882bbe3840bf51fe72
Published-As: https://github.com/phillipwood/git/releases/tag/pw%2Fworktree-list-spacing%2Fv1
View-Changes-At: https://github.com/phillipwood/git/compare/fd372d9b1...b42d0f668
Fetch-It-Via: git fetch https://github.com/phillipwood/git pw/worktree-list-spacing/v1


Phillip Wood (2):
  worktree list: fix column spacing
  worktree list: quote paths

 builtin/worktree.c       | 41 ++++++++++++++++++++++++++++------------
 t/t2402-worktree-list.sh | 37 +++++++++++++++++++++++-------------
 2 files changed, 53 insertions(+), 25 deletions(-)

-- 
2.52.0.345.g9c3c96ee5a7


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-11-21 16:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18 16:07 [PATCH 0/2] worktree list: fix column alignment Phillip Wood
2025-11-18 16:07 ` [PATCH 1/2] worktree list: fix column spacing Phillip Wood
2025-11-19  6:55   ` Eric Sunshine
2025-11-18 16:07 ` [PATCH 2/2] worktree list: quote paths Phillip Wood
2025-11-19  7:09   ` Eric Sunshine
2025-11-21 16:20     ` Phillip Wood
2025-11-18 17:03 ` [PATCH 0/2] worktree list: fix column alignment Junio C Hamano
2025-11-19  6:50 ` Eric Sunshine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).