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>
Christian Couder committed
Feb 14, 2024 at 15:25 UTC
686101ffc949acc4e840037145a97f647aa9f48c
1 file changed
+3
-2
t/t6022-rev-list-missing.sh
+3
-2
@@ -46,9 +46,10 @@ do
46
git rev-list --objects --no-object-names \
47
HEAD ^$obj >expect.raw &&
48
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
50
# 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
53
echo $(git rev-parse HEAD:1.t) >>expect.raw &&
54
echo $(git rev-parse HEAD:2.t) >>expect.raw
55
fi &&