Christian Couder [off-list ref] writes:
So perhaps you could use a function like:
write_bisect_terms() {
if test ! -s "$GIT_DIR/BISECT_TERMS"
then
echo "$NAME_BAD" >"$GIT_DIR/BISECT_TERMS" &&
echo "$NAME_GOOD" >>"$GIT_DIR/BISECT_TERMS"
fi
}
I already had it in the last patch, but reworked the code to introduce
it earlier, and never >"$GIT_DIR/BISECT_TERMS" outside this function.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/