projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge changes in the master branch into 0.99.5 preparation branch.
[git.git]
/
t
/
t6002-rev-list-bisect.sh
diff --git
a/t/t6002-rev-list-bisect.sh
b/t/t6002-rev-list-bisect.sh
index
dde5d86
..
99d86ae
100755
(executable)
--- a/
t/t6002-rev-list-bisect.sh
+++ b/
t/t6002-rev-list-bisect.sh
@@
-5,14
+5,18
@@
test_description='Tests git-rev-list --bisect functionality'
. ./test-lib.sh
test_description='Tests git-rev-list --bisect functionality'
. ./test-lib.sh
-. ../t6000
-lib.sh
+. ../t6000
lib.sh # t6xxx specific functions
bc_expr()
{
bc <<EOF
scale=1
bc_expr()
{
bc <<EOF
scale=1
-define abs(x) { if (x>=0) { return x; } else { return -x; } }
-define floor(x) { save=scale; scale=0; result=x/1; scale=save; return result; }
+define abs(x) {
+ if (x>=0) { return (x); } else { return (-x); }
+}
+define floor(x) {
+ save=scale; scale=0; result=x/1; scale=save; return (result);
+}
$*
EOF
}
$*
EOF
}
@@
-113,16
+117,6
@@
on_committer_date "1971-08-16 00:00:04" save_tag u4 unique_commit u4 tree -p u0
on_committer_date "1971-08-16 00:00:05" save_tag u5 unique_commit u5 tree -p u0
on_committer_date "1971-08-16 00:00:06" save_tag V unique_commit V tree -p u1 -p u2 -p u3 -p u4 -p u5
on_committer_date "1971-08-16 00:00:05" save_tag u5 unique_commit u5 tree -p u0
on_committer_date "1971-08-16 00:00:06" save_tag V unique_commit V tree -p u1 -p u2 -p u3 -p u4 -p u5
-
-#
-# cd to t/trash and use
-#
-# git-rev-list ... 2>&1 | sed "$(cat sed.script)"
-#
-# if you ever want to manually debug the operation of git-rev-list
-#
-echo $sed_script > sed.script
-
test_sequence()
{
_bisect_option=$1
test_sequence()
{
_bisect_option=$1