@matheusbsbs / matheus-bagliano / commits / cce074a276
Fork 0

bisect: fix another instance of eval'ed string

When there is nothing to be skipped, the output from rev-list --bisect-vars was eval'ed without first being strung together with &&; this is probably not a problem as it is much less likely to be a bad input than the list handcrafted by the filter_skip function, but it still is a good discipline. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Christian Couder committed Feb 27, 2009 at 07:31 UTC cce074a2760940cb78232ce2201ab5590e274d4a
1 file changed +7 -1
git-bisect.sh
+7 -1
@@ -263,7 +263,13 @@ filter_skipped() {
263 _skip="$2"
264
265 if [ -z "$_skip" ]; then
266 - eval_rev_list "$_eval"
266 + eval_rev_list "$_eval" | {
267 + while read line
268 + do
269 + echo "$line &&"
270 + done
271 + echo ':'
272 + }
273 return
274 fi
275