dim: Handle fast-forwards separately in update_nightly
We've had tons of fun in the past with -nightly merge commits, e.g. commit e47410aa Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon Sep 8 08:52:41 2014 +0200 dim: cope better with silent conflict fixup patches Now another kind of fun showed up, namely when a merge is just a fast-forward without any content changes. That lead to the git diff --cached check failing, which lead to not committing the merge, which lead to to all subsequent merges failing too. Since this is all too fragile rework the logic a bit and first filter out the fast-forward merges. With those handled we know that there will be a real merge and so always something to commit. Which also means that we'll never have fun again with fixup patches getting lost. Hopefully.
Showing
Please register or sign in to comment