Skip to content

Commit a4123d0

Browse files
committed
script/ceph-backport: only fetch the merge sha1
Rather than doing a full fetch every time. Signed-off-by: Patrick Donnelly <[email protected]>
1 parent 97c49d6 commit a4123d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/ceph-backport.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ function cherry_pick_phase {
292292
git checkout -b "$local_branch" FETCH_HEAD
293293
fi
294294

295-
git fetch "$upstream_remote" "pull/$original_pr/head:pr-$original_pr"
295+
git fetch "$upstream_remote" "$merge_commit_sha"
296296

297297
set +x
298298
maybe_restore_set_x

0 commit comments

Comments
 (0)