Skip to content

Commit 686101f

Browse files
chriscoolgitster
authored andcommitted
t6022: fix 'test' style and 'even though' typo
Signed-off-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent eaf07b7 commit 686101f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

t/t6022-rev-list-missing.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ do
4646
git rev-list --objects --no-object-names \
4747
HEAD ^$obj >expect.raw &&
4848
49-
# Blobs are shared by all commits, so evethough a commit/tree
49+
# Blobs are shared by all commits, so even though a commit/tree
5050
# might be skipped, its blob must be accounted for.
51-
if [ $obj != "HEAD:1.t" ]; then
51+
if test $obj != "HEAD:1.t"
52+
then
5253
echo $(git rev-parse HEAD:1.t) >>expect.raw &&
5354
echo $(git rev-parse HEAD:2.t) >>expect.raw
5455
fi &&

0 commit comments

Comments
 (0)