summaryrefslogtreecommitdiff
path: root/bin/change-git-remotes
diff options
context:
space:
mode:
Diffstat (limited to 'bin/change-git-remotes')
-rwxr-xr-xbin/change-git-remotes9
1 files changed, 0 insertions, 9 deletions
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
)