Rolling stable kernels
Rolling stable kernels
Posted Oct 7, 2021 12:49 UTC (Thu) by pbonzini (subscriber, #60935)In reply to: Rolling stable kernels by marcH
Parent article: Rolling stable kernels
Let's say the latest stable release is 5.14.9 and 5.15.1 comes out. The content of rolling-stable is 5.14.9, but when you do
git merge -n 5.15.1 # fails with horrible conflicts git restore -s 5.15.1 . # some of you may know this as "git checkout 5.15.1 -- ." git commit -m'advance rolling stable-tree to 5.15.1'
... it becomes exactly the same as 5.15.1 and can be fast-forwarded from 5.14.9 to 5.15.1. Of course this works because 5.14.10 will never be merged into the rolling-stable tree.
Posted Oct 7, 2021 21:57 UTC (Thu)
by ibukanov (subscriber, #3942)
[Link] (1 responses)
Plus git commit-tree allows to perform the above manipulation without any merge or conflicts.
Posted Oct 8, 2021 7:11 UTC (Fri)
by pbonzini (subscriber, #60935)
[Link]
Posted Oct 8, 2021 0:18 UTC (Fri)
by amboar (subscriber, #55307)
[Link] (3 responses)
Posted Oct 8, 2021 0:28 UTC (Fri)
by amboar (subscriber, #55307)
[Link] (2 responses)
Posted Oct 8, 2021 7:12 UTC (Fri)
by pbonzini (subscriber, #60935)
[Link] (1 responses)
Posted Mar 29, 2023 19:34 UTC (Wed)
by tsaeger (subscriber, #116881)
[Link]
# git merge -s "theirs"
Rolling stable kernels
Rolling stable kernels
Rolling stable kernels
Rolling stable kernels
Rolling stable kernels
Rolling stable kernels
THEIRS=v5.15.1
git merge -s ours --no-commit "${THEIRS}"
git read-tree -u --reset "${THEIRS}"
git commit --no-edit