diff options
| author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2025-11-18 16:07:33 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-18 10:11:29 -0800 |
| commit | 08dfa5983572645ae7cc51b49cadfdf216ecfec6 (patch) | |
| tree | 9bc0e28b9ba3403a9facdadf1a209703adf33fd6 /t/t4018/cpp-gnu-style-function | |
| parent | a6238ee16371247517e39da36782614a229184ff (diff) | |
worktree list: quote paths
If a worktree path contains newlines or other control characters
it messes up the output of "git worktree list". Fix this by using
quote_path() to display the worktree path. The output of "git worktree
list" is designed for human consumption, scripts should be using the
"--porcelain" option so this change should not break them.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-gnu-style-function')
0 files changed, 0 insertions, 0 deletions
