Make do-rebase re-set the url if the directory is already there.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2018-07-17 16:30:53 -04:00
parent 70dc0337f9
commit 7b06e73552

View file

@ -139,6 +139,8 @@ elif othergit remote show -n rhboot | grep -q "URL: github$" ; then
echo "Could not add remote: rhboot" 1>&2
exit 1
fi
else
othergit remote set-url rhboot ${gitrepo}
fi
othergit fetch rhboot