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 <szeder.dev@gmail.com> Acked-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

SZEDER Gábor committed Aug 26, 2021 at 22:59 UTC c3442568112f920749645667a959965bcb88a474
1 file changed +1 -1
t/t1600-index.sh
+1 -1
@@ -79,7 +79,7 @@ test_index_version () {
79 else
80 unset GIT_INDEX_VERSION
81 fi &&
82 - git add a 2>&1 &&
82 + git add a &&
83 echo $EXPECTED_OUTPUT_VERSION >expect &&
84 test-tool index-version <.git/index >actual &&
85 test_cmp expect actual