From defe00524523b601cee0252db45fcab2b22764b6 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 14 Jul 2022 08:52:00 +0200 Subject: Always use origin/ when referencing a branch Signed-off-by: Florian Schmaus --- create-patches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-patches b/create-patches index 8e8c9fa..399137a 100755 --- a/create-patches +++ b/create-patches @@ -32,7 +32,7 @@ XEN_NEXT_PATCHLEVEL=$((XEN_VER_COMPONENTS[2]+1)) XEN_NEXT_VERSION="${XEN_MAJOR_MINOR_VERSION}.${XEN_NEXT_PATCHLEVEL}" PATCH_RANGE_START_ID=$(git -C "${XEN_REPO_DIR}" rev-parse ${PATCH_RANGE_START}) -PATCH_RANGE_END_ID=$(git -C "${XEN_REPO_DIR}" rev-parse ${PATCH_RANGE_END}) +PATCH_RANGE_END_ID=$(git -C "${XEN_REPO_DIR}" rev-parse origin/${PATCH_RANGE_END}) cat < "info.txt" Xen upstream patchset #${OUR_PATCHES_VERSION} for ${XEN_NEXT_VERSION}-pre -- cgit v1.2.3-65-gdbad