]> git.ipfire.org Git - thirdparty/git.git/commit
wt-status: consistently quote paths in "status --short" output
authorJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2020 17:01:57 +0000 (10:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2020 20:07:24 +0000 (13:07 -0700)
commita361dd3f798968b3be4bd10d0f4133dc1f48e50b
treeba12173f387f29620b67174e649f65f67cec3397
parente2773aa45f673d26fe425cc5423299726f299f0b
wt-status: consistently quote paths in "status --short" output

Tracked paths with SP in them were cquoted in "git status --short"
output, but untracked, ignored, and unmerged paths weren't.

The test was stolen from a patch to fix output for the 'untracked'
paths by brian m. carlson, with similar tests added for 'ignored'
ones.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7508-status.sh
wt-status.c