diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-08-06 09:59:46 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-06 14:47:34 -0700 |
commit | 1ce761a524e34f2d629759cb57c67d13acbe4a7a (patch) | |
tree | 6743d31c57b24481ff251a26ba56ec6eda935d60 /t/t4211-line-log.sh | |
parent | a6ac5f9864958f65269d8d58a049324403b039fd (diff) | |
download | git-1ce761a524e34f2d629759cb57c67d13acbe4a7a.tar.gz |
line-range: teach -L:RE to search from end of previous -L range
For consistency with -L/RE/, teach -L:RE to search relative to the end
of the previous -L range, if any.
The new behavior invalidates one test in t4211 which assumes that -L:RE
begins searching at start of file. This test will be resurrected in a
follow-up patch which teaches -L:RE how to override the default relative
search behavior.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4211-line-log.sh')
-rwxr-xr-x | t/t4211-line-log.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t4211-line-log.sh b/t/t4211-line-log.sh index b01b3ddebb..8ba2d511e5 100755 --- a/t/t4211-line-log.sh +++ b/t/t4211-line-log.sh @@ -48,7 +48,6 @@ canned_test "-M -L '/long f/,/^}/:b.c' move-support" move-support-f canned_test "-M -L ':f:b.c' parallel-change" parallel-change-f-to-main canned_test "-L 4,12:a.c -L :main:a.c simple" multiple -canned_test "-L 4,18:a.c -L :main:a.c simple" multiple-overlapping canned_test "-L :main:a.c -L 4,18:a.c simple" multiple-overlapping canned_test "-L 4:a.c -L 8,12:a.c simple" multiple-superset canned_test "-L 8,12:a.c -L 4:a.c simple" multiple-superset |