diff options
author | 2022-07-14 08:52:00 +0200 | |
---|---|---|
committer | 2022-07-14 08:52:00 +0200 | |
commit | defe00524523b601cee0252db45fcab2b22764b6 (patch) | |
tree | 42e570ccb526e72bbb875ea2d3634932e61776b6 | |
parent | Xen 4.16.2-pre-patchset-1 (diff) | |
download | xen-upstream-patches-defe00524523b601cee0252db45fcab2b22764b6.tar.gz xen-upstream-patches-defe00524523b601cee0252db45fcab2b22764b6.tar.bz2 xen-upstream-patches-defe00524523b601cee0252db45fcab2b22764b6.zip |
Always use origin/ when referencing a branch
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rwxr-xr-x | create-patches | 2 |
1 files changed, 1 insertions, 1 deletions
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 <<EOF > "info.txt" Xen upstream patchset #${OUR_PATCHES_VERSION} for ${XEN_NEXT_VERSION}-pre |