Skip to content

Commit 95cf646

Browse files
avargitster
authored andcommitted
bundle tests: use ">file" not ": >file"
Change uses of ":" on the LHS of a ">" to the more commonly used ">file" pattern in t/t5607-clone-bundle.sh. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent daab8a5 commit 95cf646

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t5607-clone-bundle.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ test_expect_success 'bundle --stdin <rev-list options>' '
5454
'
5555

5656
test_expect_success 'empty bundle file is rejected' '
57-
: >empty-bundle &&
57+
>empty-bundle &&
5858
test_must_fail git fetch empty-bundle
5959
'
6060

6161
# This triggers a bug in older versions where the resulting line (with
6262
# --pretty=oneline) was longer than a 1024-char buffer.
6363
test_expect_success 'ridiculously long subject in boundary' '
64-
: >file4 &&
64+
>file4 &&
6565
test_tick &&
6666
git add file4 &&
6767
printf "%01200d\n" 0 | git commit -F - &&
@@ -75,7 +75,7 @@ test_expect_success 'ridiculously long subject in boundary' '
7575
'
7676

7777
test_expect_success 'prerequisites with an empty commit message' '
78-
: >file1 &&
78+
>file1 &&
7979
git add file1 &&
8080
test_tick &&
8181
git commit --allow-empty-message -m "" &&

0 commit comments

Comments
 (0)