From 1b479e00f62271940bf22d5e851c890d5ee83b7c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 26 Nov 2018 10:39:21 +0100 Subject: update-kernel-config: "git pull" upstream repo before looking for changes --- update-kernel-config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update-kernel-config b/update-kernel-config index a4d54b6..46b362a 100755 --- a/update-kernel-config +++ b/update-kernel-config @@ -25,6 +25,8 @@ if [ -z "${old_revision}" ]; then exit 1 fi +git -C "${git_repo_path}/$1/$2" pull --ff-only + config_names=$( git -C "${git_repo_path}/$1/$2" archive HEAD -- | \ tar -t | \ -- cgit v1.2.3