Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
line-log: fix "log -LN" crash when N is last line of file
[gitweb.git]
/
t
/
t4211-line-log.sh
diff --git
a/t/t4211-line-log.sh
b/t/t4211-line-log.sh
index e7a6e499654d436e898f03f68316bc50fb76cc42..00a850d61166aae6caaa61385b826cba73519b90 100755
(executable)
--- a/
t/t4211-line-log.sh
+++ b/
t/t4211-line-log.sh
@@
-73,7
+73,7
@@
test_expect_success '-L {empty-range} (any -L)' '
git log -L1,1:b.c -L$n:b.c
'
-test_expect_
failure
'-L {empty-range} (first -L)' '
+test_expect_
success
'-L {empty-range} (first -L)' '
n=$(expr $(wc -l <b.c) + 1) &&
git log -L$n:b.c
'