From c5c27eb501669a4da182dfb684a5bf266902f7ea Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 17 Sep 2018 16:05:44 +0200 Subject: bin/build-packages,bin/check-mirrors,bin/get-package-updates: "git remote update" -> "git fetch origin master:master" --- bin/build-packages | 2 +- bin/check-mirrors | 2 +- bin/get-package-updates | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/build-packages b/bin/build-packages index 2275f9f..62cfae7 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -283,7 +283,7 @@ while [ "${count}" -ne 0 ] && \ for repo_name in ${repo_names}; do eval repo_path='"${repo_paths__'"${repo_name}"'}"' - git -C "${repo_path}" remote update || \ + git -C "${repo_path}" fetch origin master:master || \ true done diff --git a/bin/check-mirrors b/bin/check-mirrors index 80524b8..b629880 100755 --- a/bin/check-mirrors +++ b/bin/check-mirrors @@ -5,7 +5,7 @@ if [ $# -eq 0 ]; then - git -C "${releng_directory}" remote update || \ + git -C "${releng_directory}" fetch origin master:master || \ true country_codes=$( diff --git a/bin/get-package-updates b/bin/get-package-updates index 66b59bb..d9c71ab 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -200,7 +200,7 @@ something_new=false for repo in ${repo_names}; do eval repo_path='"${repo_paths__'"${repo}"'}"' # Update git repositories (official packages, community packages and the repository of package customizations). - git -C "${repo_path}" remote update || \ + git -C "${repo_path}" fetch origin master:master || \ true # read previous git revision numbers from database. # shellcheck disable=SC2016 -- cgit v1.2.3-54-g00ecf