зеркало из https://github.com/microsoft/git.git
t4211: fix incorrect rebase at f8395edc
(range-set: satisfy non-empty ranges invariant)
Wnen I rewrote "cat b.c | wc -l" into "wc -l <b.c" to squash in a suggestion on the list to this series, I screwed up subsequent rebase. Fix it up. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
efc5e5ef8e
Коммит
d3a486c47d
|
@ -68,7 +68,6 @@ test_bad_opts "-L :foo:b.c" "no match"
|
|||
# thus to demonstrate this particular bug, the empty -L range must follow a
|
||||
# non-empty -L range.
|
||||
test_expect_success '-L {empty-range} (any -L)' '
|
||||
n=$(expr $(cat b.c | wc -l) + 1) &&
|
||||
n=$(expr $(wc -l <b.c) + 1) &&
|
||||
git log -L1,1:b.c -L$n:b.c
|
||||
'
|
||||
|
|
Загрузка…
Ссылка в новой задаче