summaryrefslogtreecommitdiff
path: root/t/t4018/cpp-gnu-style-function
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2025-11-18 16:07:33 +0000
committerJunio C Hamano <gitster@pobox.com>2025-11-18 10:11:29 -0800
commit08dfa5983572645ae7cc51b49cadfdf216ecfec6 (patch)
tree9bc0e28b9ba3403a9facdadf1a209703adf33fd6 /t/t4018/cpp-gnu-style-function
parenta6238ee16371247517e39da36782614a229184ff (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