{"thread":{"id":"61502","subject":"[PATCH] t/t1700-split-index.sh: mv -v is not portable","startedAt":"2024-05-17T15:27:44Z","lastAt":"2024-05-17T15:27:44Z","messageCount":1,"participants":["Marcel Telka"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"494976","messageId":"Zkd3bXM6itnh04IP@telcontar","threadId":"61502","inReplyTo":null,"subject":"[PATCH] t/t1700-split-index.sh: mv -v is not portable","fromName":"Marcel Telka","fromEmail":"marcel@telka.sk","sentAt":"2024-05-17T15:27:41Z","receivedAt":"2024-05-17T15:27:44Z","isPatch":true,"sender":{"key":"marcel@telka.sk","avatar":"https://avatars.githubusercontent.com/u/3000173?v=4"},"body":"The -v option for mv is not specified by POSIX.  The illumos\nimplementation of mv does not support -v.  Since we do not need the\nverbose mv output we just drop -v for mv.\n\nSigned-off-by: Marcel Telka <marcel@telka.sk>\n---\n t/t1700-split-index.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t1700-split-index.sh b/t/t1700-split-index.sh\nindex a7b7263b35..ac4a5b2734 100755\n--- a/t/t1700-split-index.sh\n+++ b/t/t1700-split-index.sh\n@@ -527,7 +527,7 @@ test_expect_success 'reading split index at alternate location' '\n \n \t# ... and, for backwards compatibility, in the current GIT_DIR\n \t# as well.\n-\tmv -v ./reading-alternate-location/.git/sharedindex.* .git &&\n+\tmv ./reading-alternate-location/.git/sharedindex.* .git &&\n \tGIT_INDEX_FILE=./reading-alternate-location/.git/index \\\n \tgit ls-files --cached >actual &&\n \ttest_cmp expect actual\n"}]}