From: SZEDER Gábor Date: Thu, 26 Aug 2021 20:59:59 +0000 (+0200) Subject: t1600-index: remove unnecessary redirection X-Git-Tag: v2.34.0-rc0~78^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3442568112f920749645667a959965bcb88a474;p=thirdparty%2Fgit.git t1600-index: remove unnecessary redirection In a helper function in the 't1600-index.sh' test script the stderr of a 'git add' command is redirected to its stdout, but its stdout is not redirected anywhere. So apparently this redirection is unnecessary, remove it. Signed-off-by: SZEDER Gábor Acked-by: Derrick Stolee Signed-off-by: Junio C Hamano --- diff --git a/t/t1600-index.sh b/t/t1600-index.sh index c9b9e718b8..5d10cec67a 100755 --- a/t/t1600-index.sh +++ b/t/t1600-index.sh @@ -79,7 +79,7 @@ test_index_version () { else unset GIT_INDEX_VERSION fi && - git add a 2>&1 && + git add a && echo $EXPECTED_OUTPUT_VERSION >expect && test-tool index-version <.git/index >actual && test_cmp expect actual