From 1c7a63ff2b8d7d7dfe51d26b97cf16d06c93a08e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 12 Jul 2019 11:02:35 +0200 Subject: bin/get-package-updates: use `git pull --ff-only` instead of `git update remotes` on non-bare source repo --- bin/get-package-updates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index 8763629..d159ace 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -217,7 +217,7 @@ 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). if [ -d "${repo_path}/.git" ]; then - git -C "${repo_path}" remote update + git -C "${repo_path}" pull --ff-only else git -C "${repo_path}" fetch origin master:master fi || \ -- cgit v1.2.3-70-g09d2