summaryrefslogtreecommitdiff
path: root/t/t1600-index.sh
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2021-08-26 20:59:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-08 06:23:47 (GMT)
commitc3442568112f920749645667a959965bcb88a474 (patch)
tree3c20feec45ee41634efc68c8437ab962bffa3d49 /t/t1600-index.sh
parent22d18a9b150f337fe72247bf4a41a0ba64126a1f (diff)
downloadgit-c3442568112f920749645667a959965bcb88a474.zip
git-c3442568112f920749645667a959965bcb88a474.tar.gz
git-c3442568112f920749645667a959965bcb88a474.tar.bz2
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>
Diffstat (limited to 't/t1600-index.sh')
-rwxr-xr-xt/t1600-index.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1600-index.sh b/t/t1600-index.sh
index c9b9e71..5d10cec 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