I'd like the merge-forward script (see #29391 (moved)) to highlight me the merge-forwards that actually merged something, contrary to the ones that were NOPs.
My fear is that I will have left some garbage in my worktrees and a merge-forward will merge forward something that I have not anticipated (e.g. from 035 to 040, when I just wanted to merge-fwd from 040 to master).
This has not yet happened, but I'd like as much protection as possible when using these automatic tools :)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Yikes, I spoke too soon I think I just did this exact mistake in #29806 (moved).
Apparently I was experimenting with a merge-forward that was not working and left garbage into my release-0.3.4 worktree (which I should not have messed up with in the first place). Then I git-pull-all.sh which did not complain that release-0.3.4 is not identical to origin/release-0.3.4.
So another useful thing would be to establish the assumption that after git-pull-all all the worktrees are completely synched with upstream? Does this work for everyone?
Yikes, I spoke too soon I think I just did this exact mistake in #29806 (moved).
Apparently I was experimenting with a merge-forward that was not working and left garbage into my release-0.3.4 worktree (which I should not have messed up with in the first place). Then I git-pull-all.sh which did not complain that release-0.3.4 is not identical to origin/release-0.3.4.
So another useful thing would be to establish the assumption that after git-pull-all all the worktrees are completely synched with upstream? Does this work for everyone?
If there are different PRs for different maint branches, we need to be able to merge to multiple maint branches, then merge forward.
Here's what that session might look like:
(Using #29806 (moved) as an example.)
Reset all trees to origin
Merge PR for maint-0.3.4 into that branch
Merge PR for maint-0.3.5 into that branch
Merge PR for maint-0.4.0 into that branch
Merge forward
merge forward does an implicit pull-all, but it must not do a reset
Push all
should push-all do an implicit pull-all, to check for conflicts?
I would also like the reset-all, pull-all, and merge-forward scripts to list the branches that were changed, at the end of their output. (push-all already lists the pushed branches, using git.)