]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/t1700-split-index.sh: mv -v is not portable
authorMarcel Telka <marcel@telka.sk>
Fri, 17 May 2024 15:27:41 +0000 (17:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 May 2024 19:15:51 +0000 (12:15 -0700)
The -v option for mv is not specified by POSIX.  The illumos
implementation of mv does not support -v.  Since we do not need the
verbose mv output we just drop -v for mv.

Signed-off-by: Marcel Telka <marcel@telka.sk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1700-split-index.sh

index a7b7263b35d1d8f142eec5311c9e42c25e398878..ac4a5b2734c0784c2cb8878112a5ead9593860de 100755 (executable)
@@ -527,7 +527,7 @@ test_expect_success 'reading split index at alternate location' '
 
        # ... and, for backwards compatibility, in the current GIT_DIR
        # as well.
-       mv -v ./reading-alternate-location/.git/sharedindex.* .git &&
+       mv ./reading-alternate-location/.git/sharedindex.* .git &&
        GIT_INDEX_FILE=./reading-alternate-location/.git/index \
        git ls-files --cached >actual &&
        test_cmp expect actual