]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7700-repack: modernize test format
authorJohn Cai <johncai86@gmail.com>
Sat, 20 May 2023 16:13:54 +0000 (16:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 May 2023 03:54:29 +0000 (12:54 +0900)
Some tests still use the old format with four spaces indentation.
Standardize the tests to the new format with tab indentation.

Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7700-repack.sh

index faa739eeb91f020976a92656e0a06bf3f06a64cc..3f930fa47623cc6d57d14c112c7bd08423164c38 100755 (executable)
@@ -460,10 +460,10 @@ test_expect_success '--write-midx -b packs non-kept objects' '
 '
 
 test_expect_success '--write-midx removes stale pack-based bitmaps' '
-       rm -fr repo &&
-       git init repo &&
-       test_when_finished "rm -fr repo" &&
-       (
+       rm -fr repo &&
+       git init repo &&
+       test_when_finished "rm -fr repo" &&
+       (
                cd repo &&
                test_commit base &&
                GIT_TEST_MULTI_PACK_INDEX=0 git repack -Ab &&
@@ -477,7 +477,7 @@ test_expect_success '--write-midx removes stale pack-based bitmaps' '
                test_path_is_file $midx &&
                test_path_is_file $midx-$(midx_checksum $objdir).bitmap &&
                test_path_is_missing $pack_bitmap
-       )
+       )
 '
 
 test_expect_success '--write-midx with --pack-kept-objects' '