Commit 13399bfb authored by Michal Sojka's avatar Michal Sojka

Ensure that $new_ae_commit is not changed in a subshell

Without this change, we se the "No AE updates detected" message even
when there were updates.
parent 6e8f7ba2
......@@ -122,7 +122,7 @@ else
url=$(git config --blob "${commit}:.brutegit-ae-sync" --get "$branch".url || :)
echo "$branch $url" # output arguments for parallel
done | parallel -j0 --colsep ' ' push
done > >(parallel -j0 --colsep ' ' push)
if [[ -z "$new_ae_commit" ]]; then
echo "ae-sync: No AE updates detected"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment