From 6aa8a2c33db2abb19eca5eb139b8a213c2cf5178 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 20 Jul 2026 11:59:33 -0700 Subject: [PATCH] Meta/Reintegrate: allow preparing an update on a detached HEAD While waiting for build and test of the current round of integration, we should be able to prepare the next round while on a detached HEAD. By running $ git co --detach master $ INTO=jch Meta/redo-jch.sh we can prepare a sequence of "Merge branch 'foo' into jch" commits that can be used to replace 'jch' that is currently being tested, without disrupting the test. --- Reintegrate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reintegrate b/Reintegrate index da2f0ed5c8..dd474a9f93 100755 --- a/Reintegrate +++ b/Reintegrate @@ -173,7 +173,7 @@ no) into="--into $original_branch" else original_branch= - into= + into=${INTO:+"--into $INTO"} fi } -- 2.47.3