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:
parent
70dc0337f9
commit
7b06e73552
@ -139,6 +139,8 @@ elif othergit remote show -n rhboot | grep -q "URL: github$" ; then
|
|||||||
echo "Could not add remote: rhboot" 1>&2
|
echo "Could not add remote: rhboot" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
othergit remote set-url rhboot ${gitrepo}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
othergit fetch rhboot
|
othergit fetch rhboot
|
||||||
|
Loading…
Reference in New Issue
Block a user