diff options
| author | Christian Couder <christian.couder@gmail.com> | 2024-02-14 15:25:12 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-02-14 09:39:14 -0800 |
| commit | 686101ffc949acc4e840037145a97f647aa9f48c (patch) | |
| tree | d510da4352c1607203d2896ddff2551e4b39332d | |
| parent | oidset: refactor oidset_insert_from_set() (diff) | |
| download | git-686101ffc949acc4e840037145a97f647aa9f48c.tar.gz git-686101ffc949acc4e840037145a97f647aa9f48c.zip | |
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>
| -rwxr-xr-x | t/t6022-rev-list-missing.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/t6022-rev-list-missing.sh b/t/t6022-rev-list-missing.sh index 211672759a..5f1be7abb5 100755 --- a/t/t6022-rev-list-missing.sh +++ b/t/t6022-rev-list-missing.sh @@ -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 && |
