Commit 608d9447 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gpush: use origin by default if exists

parent 95310979
......@@ -88,7 +88,7 @@ else
fi
# origin by default if exists and alone
if [ "$(get_remote_repo_list)" = "origin" ] ; then
if get_remote_repo_list | grep -q origin ; then
GIRARHOST="origin"
fi
LISTGIRARHOST="$GIRARHOST $(do_exclude_list "$GIRARHOST" "$REMOTELIST")"
......
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