@@ -213,9 +213,9 @@ mytag
213
213
EOF
214
214
test_expect_success \
215
215
' trying to delete tags without params should succeed and do nothing' '
216
- git tag -l > actual && test_cmp expect actual &&
216
+ git tag -l >actual && test_cmp expect actual &&
217
217
git tag -d &&
218
- git tag -l > actual && test_cmp expect actual
218
+ git tag -l >actual && test_cmp expect actual
219
219
'
220
220
221
221
test_expect_success \
@@ -269,9 +269,9 @@ test_expect_success 'listing all tags should print them ordered' '
269
269
git tag a1 &&
270
270
git tag v1.0 &&
271
271
git tag t210 &&
272
- git tag -l > actual &&
272
+ git tag -l >actual &&
273
273
test_cmp expect actual &&
274
- git tag > actual &&
274
+ git tag >actual &&
275
275
test_cmp expect actual
276
276
'
277
277
283
283
test_expect_success \
284
284
' listing tags with substring as pattern must print those matching' '
285
285
rm *a* &&
286
- git tag -l "*a*" > current &&
286
+ git tag -l "*a*" >current &&
287
287
test_cmp expect current
288
288
'
289
289
@@ -293,7 +293,7 @@ v1.0.1
293
293
EOF
294
294
test_expect_success \
295
295
' listing tags with a suffix as pattern must print those matching' '
296
- git tag -l "*.1" > actual &&
296
+ git tag -l "*.1" >actual &&
297
297
test_cmp expect actual
298
298
'
299
299
303
303
EOF
304
304
test_expect_success \
305
305
' listing tags with a prefix as pattern must print those matching' '
306
- git tag -l "t21*" > actual &&
306
+ git tag -l "t21*" >actual &&
307
307
test_cmp expect actual
308
308
'
309
309
312
312
EOF
313
313
test_expect_success \
314
314
' listing tags using a name as pattern must print that one matching' '
315
- git tag -l a1 > actual &&
315
+ git tag -l a1 >actual &&
316
316
test_cmp expect actual
317
317
'
318
318
321
321
EOF
322
322
test_expect_success \
323
323
' listing tags using a name as pattern must print that one matching' '
324
- git tag -l v1.0 > actual &&
324
+ git tag -l v1.0 >actual &&
325
325
test_cmp expect actual
326
326
'
327
327
@@ -331,13 +331,13 @@ v1.1.3
331
331
EOF
332
332
test_expect_success \
333
333
' listing tags with ? in the pattern should print those matching' '
334
- git tag -l "v1.?.?" > actual &&
334
+ git tag -l "v1.?.?" >actual &&
335
335
test_cmp expect actual
336
336
'
337
337
338
338
test_expect_success \
339
339
' listing tags using v.* should print nothing because none have v.' '
340
- git tag -l "v.*" > actual &&
340
+ git tag -l "v.*" >actual &&
341
341
test_must_be_empty actual
342
342
'
343
343
@@ -349,7 +349,7 @@ v1.1.3
349
349
EOF
350
350
test_expect_success \
351
351
' listing tags using v* should print only those having v' '
352
- git tag -l "v*" > actual &&
352
+ git tag -l "v*" >actual &&
353
353
test_cmp expect actual
354
354
'
355
355
@@ -1171,7 +1171,7 @@ test_expect_success GPG \
1171
1171
git tag -v emptyfile-signed-tag
1172
1172
'
1173
1173
1174
- printf ' \n\n \n\t\nLeading blank lines\n' > sigblanksfile
1174
+ printf ' \n\n \n\t\nLeading blank lines\n' > sigblanksfile
1175
1175
printf ' \n\t \t \nRepeated blank lines\n' >> sigblanksfile
1176
1176
printf ' \n\n\nTrailing spaces \t \n' >> sigblanksfile
1177
1177
printf ' \nTrailing blank lines\n\n\t \n\n' >> sigblanksfile
@@ -1569,7 +1569,7 @@ test_expect_success \
1569
1569
1570
1570
test_expect_success \
1571
1571
' message in editor has initial comment' '
1572
- ! (GIT_EDITOR=cat git tag -a initial-comment > actual)
1572
+ ! (GIT_EDITOR=cat git tag -a initial-comment >actual)
1573
1573
'
1574
1574
1575
1575
test_expect_success ' message in editor has initial comment: first line' '
@@ -1587,7 +1587,7 @@ test_expect_success \
1587
1587
'
1588
1588
1589
1589
get_tag_header reuse $commit commit $time > expect
1590
- echo " An annotation to be reused" >> expect
1590
+ echo " An annotation to be reused" >> expect
1591
1591
test_expect_success \
1592
1592
' overwriting an annotated tag should use its previous body' '
1593
1593
git tag -a -m "An annotation to be reused" reuse &&
@@ -1639,7 +1639,7 @@ hash3=$(git rev-parse HEAD)
1639
1639
1640
1640
# simple linear checks of --continue
1641
1641
1642
- cat > expected << EOF
1642
+ cat > expected << EOF
1643
1643
v0.2.1
1644
1644
v1.0
1645
1645
v1.0.1
@@ -1679,7 +1679,7 @@ test_expect_success 'checking that first commit is in all tags (relative)' "
1679
1679
test_must_be_empty actual
1680
1680
"
1681
1681
1682
- cat > expected << EOF
1682
+ cat > expected << EOF
1683
1683
v2.0
1684
1684
EOF
1685
1685
@@ -1688,7 +1688,7 @@ test_expect_success 'checking that second commit only has one tag' "
1688
1688
test_cmp expected actual
1689
1689
"
1690
1690
1691
- cat > expected << EOF
1691
+ cat > expected << EOF
1692
1692
v0.2.1
1693
1693
v1.0
1694
1694
v1.0.1
@@ -1705,7 +1705,7 @@ test_expect_success 'checking that third commit has no tags' "
1705
1705
test_must_be_empty actual
1706
1706
"
1707
1707
1708
- cat > expected << EOF
1708
+ cat > expected << EOF
1709
1709
v0.2.1
1710
1710
v1.0
1711
1711
v1.0.1
@@ -1723,14 +1723,14 @@ test_expect_success 'conversely --no-contains on the third commit lists all tags
1723
1723
test_expect_success ' creating simple branch' '
1724
1724
git branch stable v2.0 &&
1725
1725
git checkout stable &&
1726
- echo foo-3.0 > foo &&
1726
+ echo foo-3.0 >foo &&
1727
1727
git commit foo -m fourth &&
1728
1728
git tag v3.0
1729
1729
'
1730
1730
1731
1731
hash4=$( git rev-parse HEAD)
1732
1732
1733
- cat > expected << EOF
1733
+ cat > expected << EOF
1734
1734
v3.0
1735
1735
EOF
1736
1736
@@ -1739,7 +1739,7 @@ test_expect_success 'checking that branch head only has one tag' "
1739
1739
test_cmp expected actual
1740
1740
"
1741
1741
1742
- cat > expected << EOF
1742
+ cat > expected << EOF
1743
1743
v0.2.1
1744
1744
v1.0
1745
1745
v1.0.1
@@ -1757,7 +1757,7 @@ test_expect_success 'merging original branch into this branch' '
1757
1757
git tag v4.0
1758
1758
'
1759
1759
1760
- cat > expected << EOF
1760
+ cat > expected << EOF
1761
1761
v4.0
1762
1762
EOF
1763
1763
@@ -1766,7 +1766,7 @@ test_expect_success 'checking that original branch head has one tag now' "
1766
1766
test_cmp expected actual
1767
1767
"
1768
1768
1769
- cat > expected << EOF
1769
+ cat > expected << EOF
1770
1770
v0.2.1
1771
1771
v1.0
1772
1772
v1.0.1
@@ -1780,7 +1780,7 @@ test_expect_success 'checking that original branch head with --no-contains lists
1780
1780
test_cmp expected actual
1781
1781
"
1782
1782
1783
- cat > expected << EOF
1783
+ cat > expected << EOF
1784
1784
v0.2.1
1785
1785
v1.0
1786
1786
v1.0.1
0 commit comments