]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fmf: Check out target branch in packit
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Jan 2025 13:39:53 +0000 (14:39 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 7 Jan 2025 18:26:13 +0000 (18:26 +0000)
(cherry picked from commit 3c9ffd2e4b81e6bbc8cb28634432b6c9dccd661e)

test/fmf/integration-tests/test.sh

index 690e07aa56c70315a960459105de2980f99ffe1a..4984fb119b571cf72761b31e65b26a9d3dcf4004 100755 (executable)
@@ -30,7 +30,7 @@ if [[ -n "${TMT_SOURCE_DIR:-}" ]]; then
     pushd "$TMT_SOURCE_DIR/*/"
 elif [[ -n "${PACKIT_TARGET_URL:-}" ]]; then
     # Prepare systemd source tree
-    git clone "$PACKIT_TARGET_URL" systemd
+    git clone "$PACKIT_TARGET_URL" systemd --branch "$PACKIT_TARGET_BRANCH"
     pushd systemd
 
     # If we're running in a pull request job, merge the remote branch into the current main