Re: [PATCH v9 4/5] bisect: add the terms old/new
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 26, 2015, 07:00 UTC
- Message-ID
- <vpqoak3x8bc.fsf@anie.imag.fr>
- In-Reply-To
- <CAP8UFD1EWYzg7-O4BDgUTQPJOoo6TEAF49amakgfR8K6CX886A@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
Show 9 quoted lines
> 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/