diff --git a/lib/git-issue/import-export.sh b/lib/git-issue/import-export.sh index ba5c65a..6536b13 100755 --- a/lib/git-issue/import-export.sh +++ b/lib/git-issue/import-export.sh @@ -893,10 +893,7 @@ get_url() remote="origin" fi - local url provider user repo - url=$(git remote get-url ${remote} 2>&1) - - echo "${url}" + git remote get-url ${remote} 2>&1 } # Returns the git's repository provider name from the URL diff --git a/test.sh b/test.sh index 13e30fb..567621b 100755 --- a/test.sh +++ b/test.sh @@ -437,6 +437,8 @@ else # Import # GitHub echo "Starting GitHub import tests..." + try "$gi" import + try "$gi" import origin try "$gi" import github dspinellis git-issue-test-issues start ; "$gi" list | try_grep 'An open issue on GitHub with a description and comments' # Closed issues