summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-28 11:02:08 +0200
committerErich Eckner <git@eckner.net>2018-05-28 11:02:08 +0200
commit812a74361742c3bf9c3d03362e63e18d9fb5b4c0 (patch)
treef53bb59a0ce284de5bf80dbbe5f63ebac99704bc
parent9f96f03413d0f06a9d50beac6360a17f47e4b213 (diff)
downloadbuilder-812a74361742c3bf9c3d03362e63e18d9fb5b4c0.tar.xz
bin/build-packages, bin/get-package-updates: "git fetch" -> "git remote update"
-rwxr-xr-xbin/build-packages2
-rwxr-xr-xbin/get-package-updates2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 6d4f93a..6c398d4 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -244,7 +244,7 @@ while [ "${count}" -ne 0 ] && \
for repo_name in ${repo_names}; do
eval repo_path='"${repo_paths__'"${repo_name}"'}"'
- git -C "${repo_path}" fetch
+ git -C "${repo_path}" remote update
done
git_repo=$(find_repository_with_commit "${git_revision}")
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 3a6d5fd..ec25899 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -161,7 +161,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}" fetch origin master:master
+ git -C "${repo_path}" remote update
# read previous git revision numbers from database.
# shellcheck disable=SC2016
eval "old_repo_revisions__${repo}='$(