summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-06 21:53:27 +0200
committerErich Eckner <git@eckner.net>2019-10-06 21:53:27 +0200
commit44a02b16fff1fd9148ca23465fa9f40e27819289 (patch)
tree5983f0da3f3e3622b778e99bf2d9b776b6cc68b4
parente94e475e5fe4e24c068bfed6c92787d01ff0abc3 (diff)
downloadbuilder-44a02b16fff1fd9148ca23465fa9f40e27819289.tar.xz
bin/change-git-remotes: change working upstreams to less-cached ones, too
-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
)