From 44a02b16fff1fd9148ca23465fa9f40e27819289 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 6 Oct 2019 21:53:27 +0200 Subject: bin/change-git-remotes: change working upstreams to less-cached ones, too --- bin/change-git-remotes | 9 --------- 1 file changed, 9 deletions(-) (limited to 'bin/change-git-remotes') diff --git a/bin/change-git-remotes b/bin/change-git-remotes index 7d39c58..bd031a4 100755 --- a/bin/change-git-remotes +++ b/bin/change-git-remotes @@ -3,8 +3,6 @@ # shellcheck source=../lib/load-configuration . "${0%/*}/../lib/load-configuration" -# TODO: consider changing working upstreams to less-cached ones, too - if [ $# -eq 1 ] && [ "x$1" = 'x-q' ]; then quiet=true elif [ $# -ne 0 ]; then @@ -42,13 +40,6 @@ fi "${git_name}" continue fi - if git -C "${git_dir}" fetch >/dev/null 2>&1; then - ${quiet} \ - || >&2 printf '"%s" (%s) can fetch normally - skipping.\n' \ - "${git_dir}" \ - "${git_name}" - continue - fi url=$( git -C "${git_dir}" remote get-url origin ) -- cgit v1.2.3