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
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
}