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.

Junio C Hamano committed Jul 20, 2026 at 11:59 UTC 6aa8a2c33db2abb19eca5eb139b8a213c2cf5178
1 file changed +1 -1
Reintegrate
+1 -1
@@ -173,7 +173,7 @@ no)
173 into="--into $original_branch"
174 else
175 original_branch=
176 - into=
176 + into=${INTO:+"--into $INTO"}
177 fi
178 }
179