index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-10-06 21:53:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-06 21:53:27 +0200 |
commit | 44a02b16fff1fd9148ca23465fa9f40e27819289 (patch) | |
tree | 5983f0da3f3e3622b778e99bf2d9b776b6cc68b4 /bin/change-git-remotes | |
parent | e94e475e5fe4e24c068bfed6c92787d01ff0abc3 (diff) |
-rwxr-xr-x | bin/change-git-remotes | 9 |
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 ) |