A development tool I cannot live without: bin/merge_master_into_all_git_branches
semicolonandsons.com
A development tool I cannot live without: bin/merge_master_into_all_git_branches
1–3 of 3 posts
Re: A development tool I cannot live without: bin/merge_master_into_all_git_branches
#2Since this script touches all PRs, it could possibly touch stacked-diff branches if they exist, which ought to only be rebased from the parent. (Usually, parent-off-mainline rebases from mainline, and child rebases from parent.)
Just some thoughts. Can see it being handy in some cases, but the mysterious overwriting behavior makes me somewhat hesitant. Would prefer not to have an open PR committed to by a trawling script.
Re: A development tool I cannot live without: bin/merge_master_into_all_git_branches
#3Could swear git will sometimes overwrite changes in a branch without always showing merge conflicts. It's super rare, but no one believes it unless it has happened to them. Since this script touches all PRs, it could possibly touch stacked-diff branches if they exist, which ought to only be rebased from the parent. (Usually, parent-off-mainline rebases from mainline, and child rebases from parent.) Just some thoughts…
N is not huge though - looking at our operations logs, I think we ran this script only about 35 times in 3 years.