From: Matthieu Moy Date: Fri, 26 Jun 2015 07:00:55 GMT Subject: Re: [PATCH v9 4/5] bisect: add the terms old/new Message-ID: In-Reply-To: Christian Couder 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/