My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5896097
)
t4211: demonstrate crash when first -L encountered is empty range
author
Eric Sunshine
<sunshine@sunshineco.com>
Tue, 23 Jul 2013 14:28:07 +0000
(10:28 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 23 Jul 2013 19:08:15 +0000
(12:08 -0700)
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Acked-by: Thomas Rast <trast@inf.ethz.ch>
Helped-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4211-line-log.sh
patch
|
blob
|
history
diff --git
a/t/t4211-line-log.sh
b/t/t4211-line-log.sh
index
9042178
..
d98efb3
100755
(executable)
--- a/
t/t4211-line-log.sh
+++ b/
t/t4211-line-log.sh
@@
-72,4
+72,9
@@
test_expect_failure '-L {empty-range} (any -L)' '
git log -L1,1:b.c -L$n:b.c
'
+test_expect_failure '-L {empty-range} (first -L)' '
+ n=$(expr $(wc -l <b.c) + 1) &&
+ git log -L$n:b.c
+'
+
test_done