summaryrefslogtreecommitdiff
path: root/t/t7001-mv.sh
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2017-11-01 14:44:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-06 02:53:14 (GMT)
commit0a288d1ee9a259d9faf238c5e4f5aedf5090d599 (patch)
treedc9e86aea2ec60de6c5d4e140929f1b7421cd5cd /t/t7001-mv.sh
parentcb5918aa0d50f50e83787f65c2ddc3dcb10159fe (diff)
downloadgit-0a288d1ee9a259d9faf238c5e4f5aedf5090d599.zip
git-0a288d1ee9a259d9faf238c5e4f5aedf5090d599.tar.gz
git-0a288d1ee9a259d9faf238c5e4f5aedf5090d599.tar.bz2
wrapper.c: consistently quote filenames in error messages
All other error messages in the file use quotes around the file name. This change removes two translations as "could not write to '%s'" and "could not close '%s'" are already translated and these two are the only occurrences without quotes. Signed-off-by: Simon Ruderich <simon@ruderich.org> [jc: adjusted tests I noticed were broken by the change] Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7001-mv.sh')
-rwxr-xr-xt/t7001-mv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh
index f5929c4..6e5031f 100755
--- a/t/t7001-mv.sh
+++ b/t/t7001-mv.sh
@@ -452,7 +452,7 @@ test_expect_success 'checking out a commit before submodule moved needs manual u
git mv sub sub2 &&
git commit -m "moved sub to sub2" &&
git checkout -q HEAD^ 2>actual &&
- test_i18ngrep "^warning: unable to rmdir sub2:" actual &&
+ test_i18ngrep "^warning: unable to rmdir '\''sub2'\'':" actual &&
git status -s sub2 >actual &&
echo "?? sub2/" >expected &&
test_cmp expected actual &&