Commit 84d52ce6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

use git_remote_repo_list in get_remote_git_list

parent 2aebe7c3
......@@ -11,7 +11,7 @@ get_branch_list()
get_remote_repo_list()
{
git remote -v | cut -d" " -f1 | sort -u
git remote 2>/dev/null | sort -u
}
is_exist_branch()
......@@ -34,7 +34,7 @@ get_current_branch()
get_remote_git_list()
{
local i
for i in $(git remote 2>/dev/null | uniq) ; do
for i in $(get_remote_repo_list) ; do
if is_girar_name $i ; then
echo $i
fi
......
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