mirror of
https://github.com/git/git
synced 2024-08-28 03:59:25 +00:00
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>
This commit is contained in:
parent
1b249ffe8d
commit
cce074a276
|
@ -263,7 +263,13 @@ filter_skipped() {
|
||||||
_skip="$2"
|
_skip="$2"
|
||||||
|
|
||||||
if [ -z "$_skip" ]; then
|
if [ -z "$_skip" ]; then
|
||||||
eval_rev_list "$_eval"
|
eval_rev_list "$_eval" | {
|
||||||
|
while read line
|
||||||
|
do
|
||||||
|
echo "$line &&"
|
||||||
|
done
|
||||||
|
echo ':'
|
||||||
|
}
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue