@@ -263,27 +263,27 @@ test_expect_success 'blame -L X,-N' '
263
263
'
264
264
265
265
test_expect_success ' blame -L /RE/ (RE to end)' '
266
- check_count -L/evil/ C 1 "A U Thor" 1
266
+ check_count -L/\;* evil/ C 1 "A U Thor" 1
267
267
'
268
268
269
269
test_expect_success ' blame -L /RE/,/RE2/' '
270
- check_count -L/robot/,/green/ A 1 B 1 B2 1 D 1 E 1
270
+ check_count -L/\;* robot/,/\;* green/ A 1 B 1 B2 1 D 1 E 1
271
271
'
272
272
273
273
test_expect_success ' blame -L X,/RE/' '
274
- check_count -L5,/evil/ B1 1 D 1 "A U Thor" 1
274
+ check_count -L5,/\;* evil/ B1 1 D 1 "A U Thor" 1
275
275
'
276
276
277
277
test_expect_success ' blame -L /RE/,Y' '
278
- check_count -L/99/,7 B1 1 D 1 "A U Thor" 1
278
+ check_count -L/\;* 99/,7 B1 1 D 1 "A U Thor" 1
279
279
'
280
280
281
281
test_expect_success ' blame -L /RE/,+N' '
282
- check_count -L/99/,+3 B1 1 D 1 "A U Thor" 1
282
+ check_count -L/\;* 99/,+3 B1 1 D 1 "A U Thor" 1
283
283
'
284
284
285
285
test_expect_success ' blame -L /RE/,-N' '
286
- check_count -L/99/,-3 B 1 B2 1 D 1
286
+ check_count -L/\;* 99/,-3 B 1 B2 1 D 1
287
287
'
288
288
289
289
# 'file' ends with an incomplete line, so 'wc' reports one fewer lines than
@@ -349,31 +349,31 @@ test_expect_success 'blame -L multiple (superset/subset: unordered)' '
349
349
'
350
350
351
351
test_expect_success ' blame -L /RE/ (relative)' '
352
- check_count -L3,3 -L/fox/ B1 1 B2 1 C 1 D 1 "A U Thor" 1
352
+ check_count -L3,3 -L/\;* fox/ B1 1 B2 1 C 1 D 1 "A U Thor" 1
353
353
'
354
354
355
355
test_expect_success ' blame -L /RE/ (relative: no preceding range)' '
356
- check_count -L/dog/ A 1 B 1 B1 1 B2 1 C 1 D 1 "A U Thor" 1
356
+ check_count -L/\;* dog/ A 1 B 1 B1 1 B2 1 C 1 D 1 "A U Thor" 1
357
357
'
358
358
359
359
test_expect_success ' blame -L /RE/ (relative: adjacent)' '
360
- check_count -L1,1 -L/dog/,+1 A 1 E 1
360
+ check_count -L1,1 -L/\;* dog/,+1 A 1 E 1
361
361
'
362
362
363
363
test_expect_success ' blame -L /RE/ (relative: not found)' '
364
- test_must_fail $PROG -L4,4 -L/dog/ file
364
+ test_must_fail $PROG -L4,4 -L/\;* dog/ file
365
365
'
366
366
367
367
test_expect_success ' blame -L /RE/ (relative: end-of-file)' '
368
368
test_must_fail $PROG -L, -L/$/ file
369
369
'
370
370
371
371
test_expect_success ' blame -L ^/RE/ (absolute)' '
372
- check_count -L3,3 -L^/dog/,+2 A 1 B2 1
372
+ check_count -L3,3 -L^/\;* dog/,+2 A 1 B2 1
373
373
'
374
374
375
375
test_expect_success ' blame -L ^/RE/ (absolute: no preceding range)' '
376
- check_count -L^/dog/,+2 A 1 B2 1
376
+ check_count -L^/\;* dog/,+2 A 1 B2 1
377
377
'
378
378
379
379
test_expect_success ' blame -L ^/RE/ (absolute: not found)' '
0 commit comments