t6022: fix 'test' style and 'even though' typo

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Christian Couder 2024-02-14 15:25:12 +01:00 committed by Junio C Hamano
parent eaf07b7d15
commit 686101ffc9
1 changed files with 3 additions and 2 deletions

View File

@ -46,9 +46,10 @@ do
git rev-list --objects --no-object-names \
HEAD ^$obj >expect.raw &&

# Blobs are shared by all commits, so evethough a commit/tree
# Blobs are shared by all commits, so even though a commit/tree
# might be skipped, its blob must be accounted for.
if [ $obj != "HEAD:1.t" ]; then
if test $obj != "HEAD:1.t"
then
echo $(git rev-parse HEAD:1.t) >>expect.raw &&
echo $(git rev-parse HEAD:2.t) >>expect.raw
fi &&