Skip to content

Commit c344256

Browse files
szedergitster
authored andcommitted
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 <[email protected]> Acked-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 22d18a9 commit c344256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1600-index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ test_index_version () {
7979
else
8080
unset GIT_INDEX_VERSION
8181
fi &&
82-
git add a 2>&1 &&
82+
git add a &&
8383
echo $EXPECTED_OUTPUT_VERSION >expect &&
8484
test-tool index-version <.git/index >actual &&
8585
test_cmp expect actual

0 commit comments

Comments
 (0)